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> <p>Header of the panel is either defined with the <i>legend</i> property or the legend template.</p>
<CodeHighlight> <CodeHighlight>
&lt;Fieldset&gt; &lt;Fieldset&gt;
&lt;template name="legend"&gt; &lt;template #legend&gt;
Header Content Header Content
&lt;/template&gt; &lt;/template&gt;
Content 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> <p>Header of the panel is either defined with the <i>header</i> property or the header template.</p>
<CodeHighlight> <CodeHighlight>
&lt;Panel&gt; &lt;Panel&gt;
&lt;template name="header"&gt; &lt;template #header&gt;
Header Content Header Content
&lt;/template&gt; &lt;/template&gt;
Content Content