refactor(ui): use terser type syntax
This commit is contained in:
parent
9539e1af79
commit
1ecd8af59f
|
@ -9,7 +9,7 @@ const props = defineProps<{
|
|||
noWrap?: true,
|
||||
} & { [P in "stack" | "grid" | "flex" | "columns" | "row" | "page"]?: true | string }
|
||||
& { [C in "nav" | "aside" | "header" | "footer" | "main" | "label" | "form" | "h1" | "h2" | "h3" | "h4" | "h5"]?: true }
|
||||
& { [G in 'no-gap' | 'gap-4' | 'gap-8' | 'gap-12' | 'gap-16' | 'gap-64' | 'gap-auto' ]?: true }
|
||||
& { [G in 'no-gap' | `gap-${'4' | '8' | '12' | '16' | '32' | '64' | 'auto'}` ]?: true }
|
||||
& (PastelProps | ColorProps | DefaultProps)
|
||||
& RaisedProps
|
||||
& VariantProps
|
||||
|
|
Loading…
Reference in New Issue