import { MouseEvent, ComponentClass } from 'react' import { CommonEventFunction } from '@tarojs/components/types/common' import AtComponent, { AtIconBaseProps } from './base' export interface AtListProps { hasBorder?: boolean } export interface AtListItemProps extends AtComponent { hasBorder?: boolean disabled?: boolean note?: string title?: string thumb?: string isSwitch?: boolean extraText?: string extraThumb?: string switchIsCheck?: boolean switchColor?: string iconInfo?: AtIconBaseProps arrow?: 'up' | 'down' | 'right' onClick?: CommonEventFunction onSwitchChange?: CommonEventFunction } export const AtList: ComponentClass declare const AtListItem: ComponentClass export default AtListItem