Normalize example values for text
This commit is contained in:
parent
d4da38ad0b
commit
4b31596727
@ -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",
|
||||
]),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user