UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

24 lines (23 loc) 766 B
import { CSSProperties, FunctionComponent, ReactNode } from 'react'; import { CountRendererProps } from './Count'; export interface TabPaneProps { /** 选项卡头显示文字 */ tab?: ReactNode | ((title?: string) => ReactNode); title?: string; style?: CSSProperties; active?: boolean; closable?: boolean; className?: string; rootPrefixCls?: string; disabled?: boolean; forceRender?: boolean; destroyInactiveTabPane?: boolean; count?: number | (() => number | undefined); countRenderer?: (props: CountRendererProps) => ReactNode; overflowCount?: number; showCount?: boolean; placeholder?: ReactNode; sort?: number; } declare const TabPane: FunctionComponent<TabPaneProps>; export default TabPane;