UNPKG

antd-mobile-taro-ui

Version:

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

19 lines (18 loc) 579 B
import { FC, ReactNode } from 'react'; import { NativeProps } from 'antd-mobile/es/utils/native-props'; export declare type LinkItem = { text: string; }; export declare type ChipItem = { text: ReactNode; type?: 'plain' | 'link'; }; export declare type FooterProps = { label?: ReactNode; links?: LinkItem[]; content?: ReactNode; chips?: ChipItem[]; onChipClick?: (item: ChipItem, index: number) => void; onLinkClick?: (item: LinkItem, index: number) => void; } & NativeProps<'--background-color'>; export declare const Footer: FC<FooterProps>;