File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/components/composites/Progress Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ import { Box } from '../../primitives';
3
3
import type { InterfaceBoxProps } from '../../primitives/Box' ;
4
4
import { usePropsResolution } from '../../../hooks/useThemeProps' ;
5
5
import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps' ;
6
- import type { CustomProps , ResponsiveValue } from '../../../components/types' ;
7
- import type { ISizes } from '../../../theme/base/sizes' ;
6
+ import type {
7
+ CustomProps ,
8
+ ThemeComponentSizeType ,
9
+ } from '../../../components/types' ;
8
10
9
11
export interface InterfaceProgressProps
10
12
extends InterfaceBoxProps < IProgressProps > {
@@ -17,7 +19,7 @@ export interface InterfaceProgressProps
17
19
* Defines height of Progress
18
20
* @default sm
19
21
*/
20
- size ?: ResponsiveValue < ISizes | ( string & { } ) | number > ;
22
+ size ?: ThemeComponentSizeType < 'Progress' > ;
21
23
22
24
/**
23
25
* The color scheme of the progress. This should be one of the color keys in the theme (e.g."green", "red").
You can’t perform that action at this time.
0 commit comments