antd-mobile
Version:
<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />
18 lines (17 loc) • 689 B
TypeScript
import { FC, ReactNode } from 'react';
import { NativeProps } from '../../utils/native-props';
export declare type TabProps = {
title: ReactNode;
disabled?: boolean;
forceRender?: boolean;
destroyOnClose?: boolean;
} & NativeProps;
export declare const Tab: FC<TabProps>;
export declare type TabsProps = {
activeKey?: string | null;
defaultActiveKey?: string | null;
activeLineMode?: 'auto' | 'full' | 'fixed';
stretch?: boolean;
onChange?: (key: string) => void;
} & NativeProps<'--fixed-active-line-width' | '--active-line-height' | '--active-line-border-radius' | '--title-font-size' | '--content-padding'>;
export declare const Tabs: FC<TabsProps>;