Skip to content

Tabs Task #73, 2 out of 2 PageTabs.js

siergieyk edited this page Feb 12, 2020 · 1 revision
  1. In order for this component to work correctly, we need to install the material-ui:
  • npm install material-ui
  1. In order to add Tabs, we need to add this function:
  • < Tab stopId="[tabID]">[Name of the Tab]
  1. In order to update information in the tabs, we need to invoke the Tab ID, and use this function:
  • < TabPanel stopId="tab1">[Your text]
  1. 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]">
Clone this wiki locally