/*
 * @Author: your name
 * @Date: 2021-09-15 18:39:49
 * @LastEditTime: 2022-03-16 16:11:37
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /MedicalWisdomCheckSys/src/components/MccsClickableTabs/typings.d.ts
 */


declare namespace MccsClickableTabs {
      type propsType = {
        data: TabType[],
        defaultTabValue?: any[],
        onChange?: ({label:string,value:any}) => void,
        tabClickHandle?: (data: TabType|null) => void,
        type?: 'single'|'multi',
        value?: {label: string,value: any},
        disabled?: boolean,// 是否禁用
        clear?: boolean, // 清空选中数据
        classNames?: string, // class名
      }

      type TabType = {
          label: string,
          value: string|number,
          list?: TabType[]
      }
}