primevue-mirror/apps/showcase/doc/iconfield/pt/PTViewer.vue

31 lines
681 B
Vue
Raw Normal View History

2024-09-19 07:01:02 +00:00
<template>
<DocPTViewer :docs="docs">
<IconField>
<InputIcon class="pi pi-search" />
<InputText v-model="value" placeholder="Search" />
</IconField>
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
value: null,
docs: [
{
data: getPTOptions('IconField'),
key: 'IconField'
},
{
data: getPTOptions('InputIcon'),
key: 'InputIcon'
}
]
};
}
};
</script>