25 lines
560 B
Vue
25 lines
560 B
Vue
<template>
|
|
<DocSectionText v-bind="$attrs" />
|
|
<DocPTViewer :docs="docs">
|
|
<ToggleButton v-model="checked" onIcon="pi pi-check" offIcon="pi pi-times" class="w-full sm:w-40" />
|
|
</DocPTViewer>
|
|
</template>
|
|
|
|
<script>
|
|
import { getPTOptions } from '@/components/doc/helpers';
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
checked: false,
|
|
docs: [
|
|
{
|
|
data: getPTOptions('ToggleButton'),
|
|
key: 'ToggleButton'
|
|
}
|
|
]
|
|
};
|
|
}
|
|
};
|
|
</script>
|