primevue-mirror/doc/customicons/MaterialDoc.vue

25 lines
577 B
Vue
Raw Normal View History

2023-04-18 14:58:46 +00:00
<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: {
2023-10-15 09:38:39 +00:00
basic: `
<Dropdown>
2023-04-18 14:58:46 +00:00
<template #dropdownicon>
<span class="material-icons">arrow_drop_down</span>
</template>
2023-10-15 09:38:39 +00:00
</Dropdown>
`
2023-04-18 14:58:46 +00:00
}
};
}
};
</script>