2023-02-28 08:29:30 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>Size of an icon is controlled with the font-size property of the element.</p>
|
|
|
|
</DocSectionText>
|
|
|
|
<div class="card flex justify-content-center align-items-center gap-3">
|
|
|
|
<i class="pi pi-check" style="font-size: 1rem"></i>
|
|
|
|
<i class="pi pi-times" style="font-size: 1.5rem"></i>
|
|
|
|
<i class="pi pi-search" style="font-size: 2rem"></i>
|
|
|
|
<i class="pi pi-user" style="font-size: 2.5rem"></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="font-size: 1rem"></i>
|
2023-02-28 08:29:30 +00:00
|
|
|
<i class="pi pi-times" style="font-size: 1.5rem"></i>
|
|
|
|
<i class="pi pi-search" style="font-size: 2rem"></i>
|
2023-09-22 12:54:14 +00:00
|
|
|
<i class="pi pi-user" style="font-size: 2.5rem"></i>
|
|
|
|
`
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|