UNPKG

norma-library

Version:

Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.

25 lines (23 loc) 478 B
function getRadioSize(radio: string) { switch (radio) { case 'none': return 'rounded-none'; case 'xs': return 'rounded-xs'; case 'sm': return 'rounded-sm'; case 'md': return 'rounded-md'; case 'lg': return 'rounded-lg'; case 'xl': return 'rounded-xl'; case 'xll': return 'rounded-2xl'; case 'full': return 'rounded-full'; default: return 'rounded-none'; } } export { getRadioSize };