UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

14 lines (10 loc) 378 B
import type { PropDef } from '../props/index.js'; const sizes = ['1', '2', '3'] as const; const spinnerPropDefs = { size: { type: 'enum', className: 'rt-r-size', values: sizes, default: '2', responsive: true }, loading: { type: 'boolean', default: true }, } satisfies { size: PropDef<(typeof sizes)[number]>; loading: PropDef<boolean>; }; export { spinnerPropDefs };