2023-02-28 08:29:30 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>Icon color is defined with the <i>color</i> property which is inherited from parent by default.</p>
|
|
|
|
</DocSectionText>
|
2024-05-20 12:14:38 +00:00
|
|
|
<div class="card flex justify-center items-center gap-4">
|
2023-02-28 08:29:30 +00:00
|
|
|
<i class="pi pi-check" style="color: slateblue"></i>
|
|
|
|
<i class="pi pi-times" style="color: green"></i>
|
2024-03-27 08:30:38 +00:00
|
|
|
<i class="pi pi-search" style="color: 'var(--p-primary-color)'"></i>
|
2023-02-28 08:29:30 +00:00
|
|
|
<i class="pi pi-user" style="color: #708090"></i>
|
|
|
|
</div>
|
2024-01-30 08:16:35 +00:00
|
|
|
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
<i class="pi pi-check" style="color: slateblue"></i>
|
2023-02-28 08:29:30 +00:00
|
|
|
<i class="pi pi-times" style="color: green"></i>
|
2024-03-27 08:30:38 +00:00
|
|
|
<i class="pi pi-search" style="color: 'var(--p-primary-color)'"></i>
|
2023-09-22 12:54:14 +00:00
|
|
|
<i class="pi pi-user" style="color: #708090"></i>
|
|
|
|
`
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|