Use new template syntax

pull/12/head
cagataycivici 2019-05-23 14:28:24 +03:00
parent 34500e5f6b
commit 4ff66ea92a
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ import Fieldset from 'primevue/fieldset';
<p>Header of the panel is either defined with the <i>legend</i> property or the legend template.</p>
<CodeHighlight>
&lt;Fieldset&gt;
&lt;template name="legend"&gt;
&lt;template #legend&gt;
Header Content
&lt;/template&gt;
Content

View File

@ -22,7 +22,7 @@ import Panel from 'primevue/panel';
<p>Header of the panel is either defined with the <i>header</i> property or the header template.</p>
<CodeHighlight>
&lt;Panel&gt;
&lt;template name="header"&gt;
&lt;template #header&gt;
Header Content
&lt;/template&gt;
Content