Semantic-UI-React icon indicating copy to clipboard operation
Semantic-UI-React copied to clipboard

Rendering a component for a Tabs 'menuItem'?

Open ozzywalsh opened this issue 8 years ago • 2 comments

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> },

ozzywalsh avatar Jun 11 '18 12:06 ozzywalsh

👋 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.

welcome[bot] avatar Jun 11 '18 12:06 welcome[bot]

{ menuItem: { content: <Icon /> }}

Please use Stackoverflow for questions. Also, check out our docs to learn more about the shorthand API.

layershifter avatar Jun 11 '18 13:06 layershifter