feat: add public ColorArea components, docs, and package contract
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { ColorArea, ColorAreaThumb } from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex w-56 max-w-full items-center justify-center">
|
||||
<ColorArea as-child default-value="rgb(116, 52, 255)">
|
||||
<div data-custom="slider">
|
||||
<ColorAreaThumb as="span" data-custom="thumb" />
|
||||
</div>
|
||||
</ColorArea>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user