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>
</DocSectionText>
<div class="card">
<TabView>
<TabPanel header="Aura"><DocSectionCode :code="aura" hideToggleCode importCode hideStackBlitz /></TabPanel>
<TabPanel header="Lara"><DocSectionCode :code="lara" hideToggleCode importCode hideStackBlitz /></TabPanel>
<TabPanel header="Nora"><DocSectionCode :code="nora" hideToggleCode importCode hideStackBlitz /></TabPanel>
<TabPanel header="Material">Coming soon with a future update.</TabPanel>
</TabView>
<Tabs value="aura">
<TabList>
<Tab value="aura">Aura</Tab>
<Tab value="lara">Lara</Tab>
<Tab value="nora">Nora</Tab>
<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>
</template>
@ -406,7 +414,7 @@ export default {
},
lara: {
basic: `
import accordion from '@primevue/themes/aura/accordion';
import accordion from '@primevue/themes/lara/accordion';
// ... imports of other component tokens
export default {
@ -799,7 +807,7 @@ export default {
},
nora: {
basic: `
import accordion from '@primevue/themes/aura/accordion';
import accordion from '@primevue/themes/nora/accordion';
// ... imports of other component tokens
export default {