diff --git a/slang/src/Box/props.ts b/slang/src/Box/props.ts index 8aaf1e7..f20da53 100644 --- a/slang/src/Box/props.ts +++ b/slang/src/Box/props.ts @@ -37,6 +37,7 @@ export interface ResponsiveProps< content?: string; items?: string; self?: string; + area?: string; gap?: number; columnGap?: number; rowGap?: number; @@ -245,4 +246,8 @@ export const boxConfig: ComponentConfig[] = [ cssFromVariable: (v) => `border-radius: calc(var(--smallest-border-radius-px) * ${v});`, }, + { + key: "area", + cssFromVariable: (v) => `grid-area: ${v};`, + }, ];