@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
16 lines (15 loc) • 493 B
TypeScript
import { FunctionComponent } from 'react';
import { BasicComponent } from '../../utils/typings';
import { default as TabbarItem } from '../tabbaritem';
export interface TabbarProps extends BasicComponent {
defaultValue: number;
value?: number;
fixed: boolean;
inactiveColor: string;
activeColor: string;
safeArea: boolean;
onSwitch: (value: number) => void;
}
export declare const Tabbar: FunctionComponent<Partial<TabbarProps>> & {
Item: typeof TabbarItem;
};