table-reuse
Version:
A reusable table built on top of Antd ProTable
9 lines (8 loc) • 338 B
TypeScript
/// <reference types="react" />
import { TTabConfig, TTabsProps } from "../../../dataTypes";
export declare const toolbarSample: TTabsProps;
export declare function createProTableTabs({ tabs, activeKey, onTabChange, }: {
tabs: TTabConfig[];
activeKey: React.Key;
onTabChange: (key: React.Key) => void;
}): TTabsProps;