Created
June 18, 2019 01:30
-
-
Save ryanseddon/fb34794b6e1b329a6105e29c4063495f to your computer and use it in GitHub Desktop.
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
class Tabs extends React.Component { | |
render() { | |
return ( | |
<TabsContainer vertical={true}> | |
{({ | |
selectedItem, | |
focusedItem, | |
getTabProps, | |
getTabListProps, | |
getTabPanelProps | |
}) => ( | |
// Spread props and use state properties in your render | |
)} | |
</TabsContainer> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment