primevue-mirror/doc/inputotp/theming/index.vue

50 lines
1.5 KiB
Vue
Raw Normal View History

2024-02-21 18:38:16 +00:00
<template>
<div class="doc-main">
<div class="doc-intro">
2024-04-18 14:22:30 +00:00
<h1>InputOtp Theming</h1>
2024-02-21 18:38:16 +00:00
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</template>
<script>
2024-05-22 13:52:40 +00:00
import DocApiTable from '@/components/doc/DocApiTable.vue';
import { getStyleOptions } from '@/components/doc/helpers';
2024-02-21 18:38:16 +00:00
import TailwindDoc from './TailwindDoc.vue';
export default {
data() {
return {
docs: [
{
id: 'theming.styled',
label: 'Styled',
2024-05-22 13:52:40 +00:00
children: [
{
id: 'theming.classes',
label: 'CSS Classes',
description: 'List of class names used in the styled mode.',
component: DocApiTable,
data: getStyleOptions('InputOtp')
}
]
2024-02-21 18:38:16 +00:00
},
{
id: 'theming.unstyled',
label: 'Unstyled',
description: 'Theming is implemented with the pass through properties in unstyled mode.',
children: [
{
id: 'theming.tailwind',
label: 'Tailwind',
component: TailwindDoc
}
]
}
]
};
}
};
</script>