@foundationcomponentrepo/tabs
Base Tabs component for foundation
Props
TabsData: array
The TabsData
prop is to pass the Data in the form of a array, this data will be having the data of How many tabs and what does each tab contain in them.
onClick : func
This onClick
prop is used to go to that tab displaying the content in it you could add your own function and pass it in the props. it's not a manditory prop that you need to pass everytime.
Install
npm install --save @foundationcomponentrepo/tabs
License
MIT © unplatforms