primevue-mirror/apps/showcase/doc/toggleswitch/ImportDoc.vue

19 lines
337 B
Vue

<template>
<DocSectionText v-bind="$attrs" />
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
import ToggleSwitch from 'primevue/toggleswitch';
`
}
};
}
};
</script>