<template>
    <DocSectionText v-bind="$attrs">
        <p>Enabling <i>rounded</i>, displays a tag as a pill.</p>
    </DocSectionText>
    <div class="card flex flex-wrap justify-content-center gap-2">
        <Tag value="Primary" rounded></Tag>
        <Tag severity="success" value="Success" rounded></Tag>
        <Tag severity="info" value="Info" rounded></Tag>
        <Tag severity="warning" value="Warning" rounded></Tag>
        <Tag severity="danger" value="Danger" rounded></Tag>
    </div>
    <DocSectionCode :code="code" />
</template>

<script>
export default {
    data() {
        return {
            code: {
                basic: `
<Tag value="Primary" rounded></Tag>
<Tag severity="success" value="Success" rounded></Tag>
<Tag severity="info" value="Info" rounded></Tag>
<Tag severity="warning" value="Warning" rounded></Tag>
<Tag severity="danger" value="Danger" rounded></Tag>
`,
                options: `
<template>
    <div class="card flex flex-wrap justify-content-center gap-2">
        <Tag value="Primary" rounded></Tag>
        <Tag severity="success" value="Success" rounded></Tag>
        <Tag severity="info" value="Info" rounded></Tag>
        <Tag severity="warning" value="Warning" rounded></Tag>
        <Tag severity="danger" value="Danger" rounded></Tag>
    </div>    
</template>

<script>

<\/script>
`,
                composition: `
<template>
    <div class="card flex flex-wrap justify-content-center gap-2">
        <Tag value="Primary" rounded></Tag>
        <Tag severity="success" value="Success" rounded></Tag>
        <Tag severity="info" value="Info" rounded></Tag>
        <Tag severity="warning" value="Warning" rounded></Tag>
        <Tag severity="danger" value="Danger" rounded></Tag>
    </div>    
</template>

<script setup>

<\/script>
`
            }
        };
    }
};
</script>
