UNPKG

@wufengteam/baguaeditor

Version:

低零融合编辑器封装

31 lines (30 loc) 661 B
import type { FC } from 'react'; import type { TabItem } from './constant'; export interface TabContentProps { /** * tab 面板标签数据 */ tabList?: TabItem[]; /** * tab 面板最外层容器类名 */ className?: string; /** * 当前激活 tab 面板的 key */ activeKey: string; /** * 回退按钮文字 */ backBtnText?: string; /** * tab 被点击的回调 */ onTabClick?: (data: TabItem) => void; /** * 回退回调 */ onBack?: () => void; } declare const TabContent: FC<TabContentProps>; export default TabContent;