mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 02:40:35 +01:00
playground(textarea): clean
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import textarea from '#build/ui/textarea'
|
import theme from '#build/ui/textarea'
|
||||||
|
|
||||||
|
const sizes = Object.keys(theme.variants.size)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -15,7 +17,7 @@ import textarea from '#build/ui/textarea'
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex items-center gap-4">
|
<div class="flex items-center gap-4">
|
||||||
<UTextarea
|
<UTextarea
|
||||||
v-for="size in Object.keys(textarea.variants.size)"
|
v-for="size in sizes"
|
||||||
:key="size"
|
:key="size"
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
:size="(size as any)"
|
:size="(size as any)"
|
||||||
|
|||||||
Reference in New Issue
Block a user