/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; import { TabsProps as RcTabsProps, TabPaneProps } from 'rc-tabs'; import { SizeType } from '../../config-provider/component/SizeContext'; export declare type TabsType = 'line' | 'card' | 'editable-card'; export declare type TabsPosition = 'top' | 'right' | 'bottom' | 'left'; export { TabPaneProps }; export interface TabsProps extends Omit { type?: TabsType; size?: SizeType; hideAdd?: boolean; centered?: boolean; showBottomLine?: boolean; isTitle?: boolean; addIcon?: React.ReactNode; onEdit?: (e: React.MouseEvent | React.KeyboardEvent | string, action: 'add' | 'remove') => void; } declare function Tabs(originProps: TabsProps): JSX.Element; declare namespace Tabs { var TabPane: typeof import("rc-tabs").TabPane; } export default Tabs;