primevue-mirror/doc/customicons/ImageDoc.vue

23 lines
504 B
Vue
Raw Normal View History

2023-04-18 14:58:46 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>Any time of image can be used as an icon.</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
2023-07-09 21:13:49 +00:00
basic: `<Dropdown>
2023-04-18 14:58:46 +00:00
<template #dropdownicon>
<img alt="dropdown icon" src="/assets/icons/arrow_down.png">
</template>
</Dropdown>`
}
};
}
};
</script>