primevue-mirror/doc/customicons/ImageDoc.vue

25 lines
486 B
Vue
Raw Normal View History

2023-04-18 14:58:46 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>Any type of image can be used as an icon.</p>
2023-04-18 14:58:46 +00:00
</DocSectionText>
2024-01-30 08:16:35 +00:00
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
2023-04-18 14:58:46 +00:00
</template>
<script>
export default {
data() {
return {
code: {
2023-10-15 09:38:39 +00:00
basic: `
2024-04-18 14:22:30 +00:00
<Select>
2023-04-18 14:58:46 +00:00
<template #dropdownicon>
<img alt="dropdown icon" src="/assets/icons/arrow_down.png">
</template>
2024-04-18 14:22:30 +00:00
</Select>
2023-10-15 09:38:39 +00:00
`
2023-04-18 14:58:46 +00:00
}
};
}
};
</script>