Skip to content

Commit

Permalink
(ts) Added JSX.Element to ListItem avatar type definition (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrandwijk authored and iRoachie committed Dec 8, 2017
1 parent 3246f62 commit 4c5a242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ export interface ListItemProps {
/**
* Left avatar. This is the React Native Image source prop. Avatar can be used in parallel to leftIcon if needed.
*/
avatar?: string | ImageURISource;
avatar?: string | ImageURISource | JSX.Element;

/**
* Avatar styling. This is the React Native Image style prop
Expand Down

0 comments on commit 4c5a242

Please sign in to comment.