We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c809c1d commit 04a014aCopy full SHA for 04a014a
README.md
@@ -1229,9 +1229,16 @@ export default () => {
1229
```js
1230
useDynamicTabs(
1231
{
1232
+ tabs: [
1233
+ {id: '1', title: 'tab1', panelComponent: <span>tab content 1</span>},
1234
+ {id: '2', title: 'tab2', panelComponent: <span>tab content 2</span>},
1235
+ {id: '3', title: 'tab3', panelComponent: <span>tab content 3</span>},
1236
+ ],
1237
+ selectedTabID: '1',
1238
moreButtonPlugin_iconComponent: ({instance}) => {
1239
return <i className={`fa fa-chevron-${instance.getOption('direction') === 'rtl' ? 'left' : 'right'}`} />;
1240
},
1241
+ moreButtonPlugin_buttonTooltip: 'show more tabs',
1242
1243
[MoreButtonPlugin],
1244
);
0 commit comments