1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- import { IBaseProps } from '../_util/base';
- import { IBadgeProps } from '../Badge/props';
- export interface ITabItem {
-
- icon?: string;
-
- activeIcon?: string;
-
- text: string;
-
- badge?: IBadgeProps;
- }
- export interface ITabBarProps extends IBaseProps {
-
- items: ITabItem[];
-
- current: number;
-
- defaultCurrent: number;
-
- activeClassName?: string;
-
- activeStyle?: string;
-
- onChange: (index: number, e: Record<string, any>) => void;
- }
- export declare const TabBarDefaultProps: Partial<ITabBarProps>;
- export declare const TabBarFunctionalProps: Partial<ITabBarProps>;
|