Built on top of the ionic-react-conference-app
- Download the installer for Node LTS.
- Install the ionic CLI globally:
npm install -g ionic
- Clone this repository:
git clone https://github.com/ionic-team/ionic-react-conference-app.git
. - Run
npm install
from the project root. - Run
ionic serve
in a terminal from the project root. - 🎉
-
TabHeader Component Props
- titles: string[]
- selectedTab: string
- onIonChange: Function
- bgColor?: string
- highlight?: string = "light"
-
TabView Component Props
- show: boolean
- children: React.Component
<TabHeader
titles={titles}
selectedTab={basicTab}
onIonChange={(e) => setBasicTab(e.detail.value)}
/>
<TabHeader
titles={titles}
selectedTab={colorTab}
onIonChange={(e) => setColorTab(e.detail.value)}
bgColor="primary"
highlight="light"
/>
<TabView show={colorTab === titles[0]} children={<TabViewOne />} />