fix(react): IonTabBar properly extends IonicReactProps (#21009)

fixes #21006
This commit is contained in:
Masanori Onoue
2020-04-11 02:09:06 +09:00
committed by GitHub
parent 7a21708d24
commit 102a842bd2

View File

@ -2,10 +2,11 @@ import { JSX as LocalJSX } from '@ionic/core';
import React, { useContext } from 'react';
import { NavContext } from '../../contexts/NavContext';
import { IonicReactProps } from '../IonicReactProps';
import { IonTabBarInner } from '../inner-proxies';
import { IonTabButton } from '../proxies';
type Props = LocalJSX.IonTabBar & {
type Props = LocalJSX.IonTabBar & IonicReactProps & {
onIonTabsDidChange?: (event: CustomEvent<{ tab: string }>) => void;
onIonTabsWillChange?: (event: CustomEvent<{ tab: string }>) => void;
currentPath?: string;