primevue-mirror/apps/showcase/doc/customicons/MaterialDoc.vue

25 lines
557 B
Vue

<template>
<DocSectionText v-bind="$attrs">
<p><a href="https://fonts.google.com/icons">Material icons</a> is the official icon library based on Google Material Design.</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
<Select>
<template #dropdownicon>
<span class="material-icons">arrow_drop_down</span>
</template>
</Select>
`
}
};
}
};
</script>