carbon-react
Version:
A library of reusable React components for easily building user interfaces.
6 lines (5 loc) • 297 B
TypeScript
export declare const GAP_VALUES: number[];
export type AllowedNumericalValues = (typeof GAP_VALUES)[number];
export type Gap = AllowedNumericalValues | string;
export declare const getGapValue: (gapValue: number | string) => string;
export default function gap(gapValue: number | string): string;