You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
817 B
23 lines
817 B
import * as React from 'react';
|
|
import { Tab, TabPosition, EditableConfig } from '../interface';
|
|
export interface TabNodeProps {
|
|
id: string;
|
|
prefixCls: string;
|
|
tab: Tab;
|
|
active: boolean;
|
|
rtl: boolean;
|
|
closable?: boolean;
|
|
editable?: EditableConfig;
|
|
onClick?: (e: React.MouseEvent | React.KeyboardEvent) => void;
|
|
onResize?: (width: number, height: number, left: number, top: number) => void;
|
|
tabBarGutter?: number;
|
|
tabPosition: TabPosition;
|
|
renderWrapper?: (node: React.ReactElement) => React.ReactElement;
|
|
removeAriaLabel?: string;
|
|
removeIcon?: React.ReactNode;
|
|
onRemove: () => void;
|
|
onFocus: React.FocusEventHandler;
|
|
}
|
|
declare const _default: React.ForwardRefExoticComponent<TabNodeProps & React.RefAttributes<HTMLDivElement>>;
|
|
export default _default;
|