Use new template syntax
parent
34500e5f6b
commit
4ff66ea92a
|
@ -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>
|
||||
<Fieldset>
|
||||
<template name="legend">
|
||||
<template #legend>
|
||||
Header Content
|
||||
</template>
|
||||
Content
|
||||
|
|
|
@ -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>
|
||||
<Panel>
|
||||
<template name="header">
|
||||
<template #header>
|
||||
Header Content
|
||||
</template>
|
||||
Content
|
||||
|
|
Loading…
Reference in New Issue