shelving
Version:
Toolkit for using data in JavaScript.
14 lines (13 loc) • 563 B
TypeScript
/** Gap variants — sets `gap` on flex/grid containers and List/Definitions item spacing. */
export interface GapVariants {
"gap-none"?: boolean | undefined;
"gap-xxsmall"?: boolean | undefined;
"gap-xsmall"?: boolean | undefined;
"gap-small"?: boolean | undefined;
"gap-normal"?: boolean | undefined;
"gap-large"?: boolean | undefined;
"gap-xlarge"?: boolean | undefined;
"gap-xxlarge"?: boolean | undefined;
}
export type Gap = keyof GapVariants;
export declare function getGapClass(gap: Gap | GapVariants): string | undefined;