UNPKG

@legion-ui-kit/react-core

Version:

<div align="center"> <img height="108" width="116" src="https://legion.digitaltelkom.id/favicon.svg?v=4643a71fb65fa61a5f2b266b769ea7b1" /> <h1 align="center">Legion UI Kit - React Core</h1> </div>

1 lines 911 B
{"version":3,"file":"Radio.constant.cjs","sources":["../../../../src/components/Radio/Radio.constant.ts"],"sourcesContent":["// Types\r\nimport type { TRadioLabelPosition, TRadioProps, TRadioSize } from './Radio.type';\r\n\r\nexport const RADIO_SIZES: TRadioSize[] = ['sm', 'md', 'lg'];\r\nexport const RADIO_SIZE: { [key in TRadioSize]: key } = {\r\n sm: 'sm',\r\n md: 'md',\r\n lg: 'lg'\r\n};\r\n\r\nexport const RADIO_LABEL_POSITIONS: TRadioLabelPosition[] = ['left', 'right'];\r\nexport const RADIO_LABEL_POSITION: { [key in TRadioLabelPosition]: key } = {\r\n left: 'left',\r\n right: 'right'\r\n};\r\n\r\n\r\nexport const RADIO_DEFAULT_PROPS: TRadioProps = {\r\n labelPosition: RADIO_LABEL_POSITION.right,\r\n size: RADIO_SIZE.md\r\n};\r\n"],"names":["RADIO_SIZE","md","RADIO_DEFAULT_PROPS","size","left"],"mappings":"aAIO,MAAMA,EAA2C,CAEtDC,GAAI,MAWOC,EAAmC,CAE9CC,KAAMH,EAAWC,+DARwD,CACzEG,KAAM"}