UNPKG

antd-mobile-taro-ui

Version:

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

19 lines (18 loc) 621 B
import React, { FC, ReactNode } from 'react'; import { NativeProps } from 'antd-mobile/es/utils/native-props'; export declare type CapsuleTabProps = { key: string; title: ReactNode; disabled?: boolean; forceRender?: boolean; destroyOnClose?: boolean; children?: ReactNode; } & NativeProps; export declare const CapsuleTab: FC<CapsuleTabProps>; export declare type CapsuleTabsProps = { activeKey?: string | null; defaultActiveKey?: string | null; onChange?: (key: string) => void; children?: React.ReactNode; } & NativeProps; export declare const CapsuleTabs: FC<CapsuleTabsProps>;