-
Notifications
You must be signed in to change notification settings - Fork 3
Tabs Task #73, 2 out of 2 PageTabs.js
siergieyk edited this page Feb 12, 2020
·
1 revision
- In order for this component to work correctly, we need to install the material-ui:
- npm install material-ui
- In order to add Tabs, we need to add this function:
- < Tab stopId="[tabID]">[Name of the Tab]
- In order to update information in the tabs, we need to invoke the Tab ID, and use this function:
- < TabPanel stopId="tab1">[Your text]
- In order to pick a default tab, that will be opened after loading the application, please modify this function:
- < Tabs selectedId="[Id of the selected tab]">