Skip to content

Commit cd5c523

Browse files
authored
fix render icon return type (#307)
linter: render icon return type fixed
2 parents bbf5b19 + 2e301b9 commit cd5c523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface ActionButtonProperties extends ViewProperties {
2828
size?: number,
2929
autoInactive?: boolean,
3030
onPress?: () => void,
31-
renderIcon?: (active: boolean) => React.ReactElement,
31+
renderIcon?: (active: boolean) => React.ReactElement<any>,
3232
backdrop?: boolean | object,
3333
degrees?: number,
3434
verticalOrientation?: 'up' | 'down',

0 commit comments

Comments
 (0)