import { ComponentClass } from 'react' import AtComponent from './base' interface Item { name: string key: string | number selected?: boolean [propName: string]: any } interface ListItem { title: string key: string items: Array } export interface AtIndexesProps extends AtComponent { animation?: boolean top?: string vibrate?: boolean toast?: boolean list?: Array showCharacterIndexes?: boolean onClick?: (item: Item) => void /** * 获取跳转事件跳转到指定 key */ onScrollIntoView?: (fn: (key: string) => void) => void } declare const AtIndexes: ComponentClass export default AtIndexes