Update PresetsDoc.vue

pull/6011/head
tugcekucukoglu 2024-07-03 12:35:40 +03:00
parent b07f825abe
commit 1d02ba2226
1 changed files with 16 additions and 8 deletions

View File

@ -3,12 +3,20 @@
<p>Currently Aura is the only available preset and more will follow in the upcoming updates.</p> <p>Currently Aura is the only available preset and more will follow in the upcoming updates.</p>
</DocSectionText> </DocSectionText>
<div class="card"> <div class="card">
<TabView> <Tabs value="aura">
<TabPanel header="Aura"><DocSectionCode :code="aura" hideToggleCode importCode hideStackBlitz /></TabPanel> <TabList>
<TabPanel header="Lara"><DocSectionCode :code="lara" hideToggleCode importCode hideStackBlitz /></TabPanel> <Tab value="aura">Aura</Tab>
<TabPanel header="Nora"><DocSectionCode :code="nora" hideToggleCode importCode hideStackBlitz /></TabPanel> <Tab value="lara">Lara</Tab>
<TabPanel header="Material">Coming soon with a future update.</TabPanel> <Tab value="nora">Nora</Tab>
</TabView> <Tab value="material">Material</Tab>
</TabList>
<TabPanels>
<TabPanel value="aura"><DocSectionCode :code="aura" hideToggleCode importCode hideStackBlitz /></TabPanel>
<TabPanel value="lara"><DocSectionCode :code="lara" hideToggleCode importCode hideStackBlitz /></TabPanel>
<TabPanel value="nora"><DocSectionCode :code="nora" hideToggleCode importCode hideStackBlitz /></TabPanel>
<TabPanel value="material">Coming soon with a future update.</TabPanel>
</TabPanels>
</Tabs>
</div> </div>
</template> </template>
@ -406,7 +414,7 @@ export default {
}, },
lara: { lara: {
basic: ` basic: `
import accordion from '@primevue/themes/aura/accordion'; import accordion from '@primevue/themes/lara/accordion';
// ... imports of other component tokens // ... imports of other component tokens
export default { export default {
@ -799,7 +807,7 @@ export default {
}, },
nora: { nora: {
basic: ` basic: `
import accordion from '@primevue/themes/aura/accordion'; import accordion from '@primevue/themes/nora/accordion';
// ... imports of other component tokens // ... imports of other component tokens
export default { export default {