Semantic-UI-React
Semantic-UI-React copied to clipboard
Rendering a component for a Tabs 'menuItem'?
Can I use a component instead of a string for a tab?
{ menuItem: <Icon name='camera' >Photos</Icon>, render: () => <Tab.Pane>Tab 1 Content</Tab.Pane> },
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
{ menuItem: { content: <Icon /> }}
Please use Stackoverflow for questions. Also, check out our docs to learn more about the shorthand API.