UNPKG

antd-mobile-taro-ui

Version:

以antd-mobile为设计标准,基于taro框架的微信小程序组件库

18 lines (17 loc) 673 B
import React, { FC, ReactNode } from 'react'; import { NativeProps } from 'antd-mobile/es/utils/native-props'; import { BadgeProps } from '../badge'; export declare type TabBarItemProps = { icon?: ReactNode | ((active: boolean) => ReactNode); title?: ReactNode | ((active: boolean) => ReactNode); badge?: BadgeProps['content']; } & NativeProps; export declare const TabBarItem: FC<TabBarItemProps>; export declare type TabBarProps = { activeKey?: string | null; defaultActiveKey?: string | null; onChange?: (key: string) => void; safeArea?: boolean; children?: React.ReactNode; } & NativeProps; export declare const TabBar: FC<TabBarProps>;