@morfeo/spec
Version:

21 lines (20 loc) • 445 B
TypeScript
import { radiiMap } from '../properties';
export interface Radii {
'2xs': string;
xs: string;
s: string;
m: string;
l: string;
xl: string;
'2xl': string;
none: string;
round: string;
}
export type Radius = keyof Radii;
type BaseRadiusProps = {
[K in (typeof radiiMap)[number]]: Radius;
};
export interface RadiusProps extends BaseRadiusProps {
}
export type RadiusProperty = keyof RadiusProps;
export {};