Skip to content

Commit

Permalink
docs(README.md): Add values for tabsRole
Browse files Browse the repository at this point in the history
  • Loading branch information
EmaSuriano committed Feb 21, 2018
1 parent 3905d6d commit 64f9b38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,11 @@ You can also always just simply copy the default style to your own css/scss/less
In case you want to create your own component wrapping the ones that the library provides, you have to set its `tabsRole`. This is value is used inside react-tabs to check the role of a component inside `<Tabs />`.
Possible values for tabsRole are:
* Tab
* TabPanel
* TabList
``` javascript
import { Tabs, TabList, Tab, TabPanel } from 'react-tabs';
Expand Down

0 comments on commit 64f9b38

Please sign in to comment.