import { ComponentClass } from 'react'
import CtsComponent from './base'

export interface CtsThumbListProps extends CtsComponent {
  /**
   * 是否有标题
	 * @default false
   */
  hasTitle?: boolean
  /**
   * 样式形状，circle：圆形，square：圆角正方形
   * @description 可选择的值 'circle', 'square'
   * @type {('circle'|'square')}
   * @default 'circle'
   */
	type?: string
	/**
	 * 列表数据
	 */
	data:any[]
	/**
	 * 头像对应字段
	 */
	headImg?:string
	/**
	 * 名称对应字段
	 */
  name?: string
  /**
   * 是否可选择
   */
  isChecked?: boolean
  /**
   * 选中key的名称
   * @default 'value'
   */
  checkedKey?: string
  /**
   * isChecked 为 true 时生效 -> 选中状态
   */
  chooseVal?: any[]
	/**
	 * 是否具有点击事件
	 * @default false
	 */
	hasClick?:boolean
	/**
	 * hasClick 为 true 时生效 -> 列表项点击事件
	 */
	itemClick?:Function
}

declare const CtsThumbList: ComponentClass<CtsThumbListProps>

export default CtsThumbList
