Skip to content

Instantly share code, notes, and snippets.

@grantsheppard
Created April 6, 2017 04:16
Show Gist options
  • Save grantsheppard/ebf7460ec3160649bddec9d61045a8b3 to your computer and use it in GitHub Desktop.
Save grantsheppard/ebf7460ec3160649bddec9d61045a8b3 to your computer and use it in GitHub Desktop.
class App extends React.Component {
render() {
const tabData = [
{ label: 'Tacos', description: <p>Tacos are delicious</p> },
{ label: 'Burritos', description: <p>But burritos are better</p> }
]
return <Tabs data={tabData}/>
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment