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 f92f65c commit 09f5525Copy full SHA for 09f5525
src/components/primitives/Icon/types.ts
@@ -1,7 +1,6 @@
1
import type { PlatformProps } from '../../types';
2
import type { StyledProps } from '../../../theme/types';
3
import type { ResponsiveValue } from '../../types/responsiveValue';
4
-import type { ISizes } from '../../../theme/base/sizes';
5
import type { SvgProps } from 'react-native-svg';
6
import type { IColors } from '../../../theme/base/colors';
7
@@ -27,9 +26,7 @@ export interface InterfaceIconProps
27
26
/**
28
* The size of the icon.
29
*/
30
- size?:
31
- | ResponsiveValue<ISizes | (string & {}) | number>
32
- | ThemeComponentSizeType<'Icon'>;
+ size?: ThemeComponentSizeType<'Icon'>;
33
34
35
* The color of the icon.
0 commit comments