Normalize example values for text

This commit is contained in:
Kuba Orlik 2026-08-10 17:48:23 +02:00
parent d4da38ad0b
commit 4b31596727

View File

@ -8,7 +8,12 @@ import type {
import { Component, ComponentArguments } from "@sealcode/jdd";
const component_arguments = {
color: new ComponentArguments.Enum(["transparent", "normal", "accent", "accent2"]),
color: new ComponentArguments.Enum([
"transparent",
"normal",
"accent",
"accent2",
]).setExampleValues(["normal"]),
size: new ComponentArguments.Enum(["small", "normal", "large"]).setExampleValues([
"normal",
]),