import React from 'react'; import { ScrollViewProps } from 'remax/wechat'; interface Props extends ScrollViewProps { /** * 渲染列表项,index为需要索引的内容 * @param data */ renderItem: (data: D) => { index: string; node: React.ReactNode; }; /** * 列表 */ list: D[]; /** * 索引标识的类名 */ indexCls?: string; /** * 侧边项类名 */ slideItemCls?: string; /** * 侧边类名 */ slideCls?: string; /** * 索引分割线类名 */ indexLineCls?: string; /** * 单个索引列表盒子类名 */ itemWrapCls?: string; } declare const _default: ({ renderItem, list, className, slideItemCls, slideCls, indexLineCls, indexCls, itemWrapCls, ...props }: Props) => React.JSX.Element; export default _default;