UNPKG

slightning-coco-widget

Version:

SLIGHTNING 的 CoCo 控件框架。

18 lines (17 loc) 604 B
import type { FC, ReactNode } from 'react'; import { NativeProps } from '../../utils/native-props'; export declare type CapsuleTabProps = { 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?: ReactNode; } & NativeProps; export declare const CapsuleTabs: FC<CapsuleTabsProps>;