Created
August 24, 2019 15:08
-
-
Save carlrip/f8dc817e04c25317383a6c2a1a608b77 to your computer and use it in GitHub Desktop.
Render props interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface Props { | |
| ... | |
| renderItem?: (item: string) => JSX.Element; | |
| renderHeader?: () => JSX.Element; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment