@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
17 lines (13 loc) • 334 B
text/typescript
import type { PropDef } from './prop-def.js';
const weights = ['light', 'regular', 'medium', 'bold'] as const;
const weightPropDef = {
weight: {
type: 'enum',
className: 'rt-r-weight',
values: weights,
responsive: true,
},
} satisfies {
weight: PropDef<(typeof weights)[number]>;
};
export { weightPropDef };