primevue-mirror/doc/customicons/MaterialDoc.vue

24 lines
576 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 hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
<Dropdown>
<template #dropdownicon>
<span class="material-icons">arrow_drop_down</span>
</template>
</Dropdown>`
}
};
}
};
</script>