antd-mini
Version:
antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。
47 lines (46 loc) • 1.12 kB
TypeScript
import { IBaseProps } from '../../_util/base';
export interface IListItemProps extends IBaseProps {
/**
* @description 左侧图片
*/
image?: string;
/**
* @description 标题信息
*/
title?: string;
/**
* @description 描述信息
*/
brief?: string;
/**
* @description 箭头方向,不传表示没有箭头
*/
arrow?: boolean | 'right' | 'up' | 'down';
/**
* @description 右侧额外内容,即,辅助信息
*/
extra?: string;
/**
* @description 右侧额外内容,即,次要辅助信息
*/
extraBrief?: string;
/**
* @description 右侧额外内容,即,次要辅助信息
* @default false
*/
disabled?: boolean;
/**
* @description 是否显示下划线
* @default true
*/
showDivider?: boolean;
/**
* @description 点击整行回调
*/
onTap?: (event?: any) => void;
/**
* @description 点击整行回调
*/
catchTap?: (event?: any) => void;
}
export declare const ListItemDefaultProps: Partial<IListItemProps>;