Skip to content

Commit 64f9b38

Browse files
committed
docs(README.md): Add values for tabsRole
1 parent 3905d6d commit 64f9b38

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,11 @@ You can also always just simply copy the default style to your own css/scss/less
332332
333333
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 />`.
334334
335+
Possible values for tabsRole are:
336+
* Tab
337+
* TabPanel
338+
* TabList
339+
335340
``` javascript
336341
import { Tabs, TabList, Tab, TabPanel } from 'react-tabs';
337342

0 commit comments

Comments
 (0)