We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09f5525 commit 56ce7dfCopy full SHA for 56ce7df
src/components/primitives/Spinner/types.tsx
@@ -1,13 +1,16 @@
1
import type { ActivityIndicatorProps } from 'react-native';
2
import type { StyledProps } from '../../../theme/types';
3
-import type { CustomProps, ResponsiveValue } from '../../../components/types';
+import type {
4
+ CustomProps,
5
+ ThemeComponentSizeType,
6
+} from '../../../components/types';
7
export interface InterfaceSpinnerProps
8
extends Omit<ActivityIndicatorProps, 'size'>,
9
Omit<StyledProps, 'size' | 'color'> {
10
/**
11
* Size of Spinner
12
*/
- size?: ResponsiveValue<'sm' | 'lg'>;
13
+ size?: ThemeComponentSizeType<'Spinner'>;
14
15
// variant?:
16
// | 'custom'
0 commit comments