Skip to content

Commit 09f5525

Browse files
committed
fix: icon size typing
1 parent f92f65c commit 09f5525

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/components/primitives/Icon/types.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { PlatformProps } from '../../types';
22
import type { StyledProps } from '../../../theme/types';
33
import type { ResponsiveValue } from '../../types/responsiveValue';
4-
import type { ISizes } from '../../../theme/base/sizes';
54
import type { SvgProps } from 'react-native-svg';
65
import type { IColors } from '../../../theme/base/colors';
76

@@ -27,9 +26,7 @@ export interface InterfaceIconProps
2726
/**
2827
* The size of the icon.
2928
*/
30-
size?:
31-
| ResponsiveValue<ISizes | (string & {}) | number>
32-
| ThemeComponentSizeType<'Icon'>;
29+
size?: ThemeComponentSizeType<'Icon'>;
3330

3431
/**
3532
* The color of the icon.

0 commit comments

Comments
 (0)