Initial commit
This commit is contained in:
33
resources/js/views/demos/components/list/DemoListShaped.vue
Normal file
33
resources/js/views/demos/components/list/DemoListShaped.vue
Normal file
@@ -0,0 +1,33 @@
|
||||
<script setup>
|
||||
const items = [
|
||||
{
|
||||
text: 'Cupcake sesame snaps dessert marzipan.',
|
||||
icon: 'tabler-brand-instagram',
|
||||
},
|
||||
{
|
||||
text: 'Jelly beans jelly-o gummi bears chupa chups marshmallow.',
|
||||
icon: 'tabler-brand-facebook',
|
||||
},
|
||||
{
|
||||
text: 'Bonbon macaroon gummies pie jelly',
|
||||
icon: 'tabler-brand-twitter',
|
||||
},
|
||||
]
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VList>
|
||||
<VListItem
|
||||
v-for="(item, i) in items"
|
||||
:key="i"
|
||||
:value="item.text"
|
||||
rounded="shaped"
|
||||
>
|
||||
<template #prepend>
|
||||
<VIcon :icon="item.icon" />
|
||||
</template>
|
||||
<!-- eslint-disable-next-line vue/no-v-text-v-html-on-component -->
|
||||
<VListItemTitle v-text="item.text" />
|
||||
</VListItem>
|
||||
</VList>
|
||||
</template>
|
||||
Reference in New Issue
Block a user