/** * @author Hanz * @date 2021/8/4 上午10:22 * @description 分体式按钮组 */ import React from 'react'; import { ButtonProps } from '../Button'; import { Placement } from '../Dropdown'; import { AutoTipsProps } from '../AutoTips'; import { TooltipProps } from '../Tooltip'; import { PopConfirmProps } from '../PopConfirm'; import './index.scss'; interface Option { /** * 按钮文字 */ label: string; /** * 按钮value */ value?: any; /** * 禁用按钮 */ disabled?: boolean; /** * 禁用提示 */ disabledTooltip?: TooltipProps; /** 气泡确认框参数 */ popConfirmProps?: PopConfirmProps; [name: string]: any; } type GroupOption = Array