@ionic/react
Version:
React specific wrapper for @ionic/core
16 lines (15 loc) • 630 B
TypeScript
import type { JSX as LocalJSX } from '@ionic/core/components';
import React from 'react';
import type { IonicReactProps } from '../IonicReactProps';
export declare const IonTabBar: React.ForwardRefExoticComponent<LocalJSX.IonTabBar & IonicReactProps & {
onIonTabsDidChange?: (event: CustomEvent<{
tab: string;
}>) => void;
onIonTabsWillChange?: (event: CustomEvent<{
tab: string;
}>) => void;
slot?: "bottom" | "top";
style?: {
[key: string]: string;
};
} & Omit<React.HTMLAttributes<HTMLIonTabBarElement>, "style" | "placeholder"> & React.RefAttributes<HTMLIonTabBarElement>>;