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 ee21567 commit cb907f9Copy full SHA for cb907f9
src/components/button/types.ts
@@ -10,6 +10,7 @@ import {
10
import {TouchableOpacityProps} from '../touchableOpacity';
11
import {TextProps} from '../text';
12
import {ImageProps} from '../image';
13
+import type {IconProps} from '../icon';
14
15
export enum ButtonSize {
16
xSmall = 'xSmall',
@@ -53,7 +54,7 @@ export type ButtonProps = TouchableOpacityProps &
53
54
/**
55
* Other image props that will be passed to the image
56
*/
- iconProps?: Partial<ImageProps>;
57
+ iconProps?: Partial<IconProps>;
58
59
* Should the icon be right to the label
60
0 commit comments