UNPKG

@legion-ui-kit/react-core

Version:

To install the package into your project:

1 lines 1.06 kB
{"version":3,"file":"ProgressBar.constant.cjs","sources":["../../../../src/components/ProgressBar/ProgressBar.constant.ts"],"sourcesContent":["// Types\r\nimport type { TProgressBarLabelPosition, TProgressBarProps } from './ProgressBar.type';\r\n\r\nexport const PROGRESS_BAR_LABEL_POSITIONS: TProgressBarLabelPosition[] = [\r\n 'bottom-left',\r\n 'bottom-right',\r\n 'float-bottom',\r\n 'float-top',\r\n 'left',\r\n 'right'\r\n];\r\nexport const PROGRESS_BAR_LABEL_POSITION: { [key in TProgressBarLabelPosition]: key } = {\r\n 'bottom-left': 'bottom-left',\r\n 'bottom-right': 'bottom-right',\r\n 'float-bottom': 'float-bottom',\r\n 'float-top': 'float-top',\r\n 'left': 'left',\r\n 'right': 'right'\r\n};\r\n\r\nexport const PROGRESS_BAR_DEFAULT_PROPS: TProgressBarProps = {\r\n value: 0,\r\n labelPosition: PROGRESS_BAR_LABEL_POSITION.right\r\n};\r\n"],"names":["PROGRESS_BAR_LABEL_POSITION","right","PROGRESS_BAR_DEFAULT_PROPS","value","labelPosition"],"mappings":"aAWO,MAAMA,EAA2E,CAMtFC,MAAS,SAGEC,EAAgD,CAC3DC,MAAO,EACPC,cAAeJ,EAA4BC"}