2025-03-04 10:12:57 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
2025-03-04 11:17:02 +00:00
|
|
|
<p>Button provides <i>small</i> and <i>large</i> sizes as alternatives to the base.</p>
|
2025-03-04 10:12:57 +00:00
|
|
|
</DocSectionText>
|
2025-03-04 11:17:02 +00:00
|
|
|
<div class="card flex flex-wrap items-center justify-center gap-4">
|
|
|
|
<Button label="Small" icon="pi pi-check" size="small" />
|
|
|
|
<Button label="Normal" icon="pi pi-check" />
|
|
|
|
<Button label="Large" icon="pi pi-check" size="large" />
|
2025-03-04 10:12:57 +00:00
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
import Button from '@/volt/button';
|
|
|
|
import { ref } from 'vue';
|
|
|
|
|
|
|
|
const code = ref(`
|
|
|
|
<template>
|
2025-03-04 11:17:02 +00:00
|
|
|
<div class="card flex flex-wrap items-center justify-center gap-4">
|
|
|
|
<Button label="Small" icon="pi pi-check" size="small" />
|
|
|
|
<Button label="Normal" icon="pi pi-check" />
|
|
|
|
<Button label="Large" icon="pi pi-check" size="large" />
|
2025-03-04 10:12:57 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
import Button from '@/volt/button';
|
|
|
|
<\/script>
|
|
|
|
`);
|
|
|
|
</script>
|