react-material-design-lite icon indicating copy to clipboard operation
react-material-design-lite copied to clipboard

Add Tabs

Open haoxins opened this issue 10 years ago • 1 comments

haoxins avatar Sep 19 '15 07:09 haoxins

I think this should be broken out into separate components that can be composed, e.g. TabContainer, Tab and Panel (or some variation on those names).

<TabContainer>
  <Tab>Something</Tab>
  <Panel>Content</Panel>
</TabContainer>

I'm not sure the best way to tie <Tab> and <Panel> together. Maybe an id and for?

phated avatar Sep 21 '15 20:09 phated