Skip to content

Commit 790d02a

Browse files
committed
add object with URI property as valid children type
1 parent d3cddee commit 790d02a

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
@@ -55,7 +55,7 @@ export type ImageFiltersProps = FiltersProps & {
5555
/**
5656
* Content of the overlay
5757
*/
58-
children: React.ReactElement<any>;
58+
children: React.ReactElement<any> | {uri: string};
5959
}
6060

6161
export default function ImageFilters(props: ImageFiltersProps): React.ReactElement<{}>;

0 commit comments

Comments
 (0)