UNPKG

@morfeo/spec

Version:

![Morfeo logo](https://morfeo.dev/img/morfeo.png)

21 lines (20 loc) 445 B
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 {};