@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
17 lines (13 loc) • 352 B
text/typescript
import type { PropDef } from './prop-def.js';
const textWrapValues = ['wrap', 'nowrap', 'pretty', 'balance'] as const;
const textWrapPropDef = {
wrap: {
type: 'enum',
className: 'rt-r-tw',
values: textWrapValues,
responsive: true,
},
} satisfies {
wrap: PropDef<(typeof textWrapValues)[number]>;
};
export { textWrapPropDef };