@uiw/react-tabs
Version:
Tabs component
17 lines (16 loc) • 583 B
TypeScript
import React from 'react';
import { IProps, HTMLDivProps } from '@uiw/utils';
import './style/index.less';
export * from './Pane';
export interface TabsProps extends IProps, HTMLDivProps {
prefixCls?: string;
activeKey?: string;
type?: 'default' | 'line' | 'card';
children?: React.ReactNode;
onTabClick?: (key: string, item: React.ReactElement, e: React.MouseEvent) => void;
}
declare function Tabs(props: TabsProps): React.JSX.Element;
declare namespace Tabs {
var Pane: (props?: import("./Pane").TabsPaneProps) => React.JSX.Element;
}
export default Tabs;