Skip to content

Commit 0706c23

Browse files
committed
Update ItemType to reflect behavior
1 parent f39e024 commit 0706c23

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
@@ -22,7 +22,7 @@ declare module 'react-native-dropdown-picker' {
2222
export type ItemType<T> = {
2323
label?: string;
2424
value?: T;
25-
icon?: () => void;
25+
icon?: () => JSX.Element;
2626
parent?: T;
2727
selectable?: boolean;
2828
disabled?: boolean;

0 commit comments

Comments
 (0)