Skip to content

Commit 56ce7df

Browse files
committed
fix: spinner size typing
1 parent 09f5525 commit 56ce7df

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/primitives/Spinner/types.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
import type { ActivityIndicatorProps } from 'react-native';
22
import type { StyledProps } from '../../../theme/types';
3-
import type { CustomProps, ResponsiveValue } from '../../../components/types';
3+
import type {
4+
CustomProps,
5+
ThemeComponentSizeType,
6+
} from '../../../components/types';
47
export interface InterfaceSpinnerProps
58
extends Omit<ActivityIndicatorProps, 'size'>,
69
Omit<StyledProps, 'size' | 'color'> {
710
/**
811
* Size of Spinner
912
*/
10-
size?: ResponsiveValue<'sm' | 'lg'>;
13+
size?: ThemeComponentSizeType<'Spinner'>;
1114

1215
// variant?:
1316
// | 'custom'

0 commit comments

Comments
 (0)