refactor: update PreviewColor props to be optional and adjust layout in demos

This commit is contained in:
David Haz
2025-07-15 12:10:43 +03:00
parent 0421c6fd74
commit 114d544102
5 changed files with 15 additions and 20 deletions

View File

@@ -7,7 +7,7 @@
<script setup lang="ts">
defineProps<{
title: string;
title?: string;
modelValue: string;
disabled?: boolean;
}>();
@@ -27,7 +27,6 @@ const handleColorChange = (event: Event) => {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.color-label {