/// /** * fork 自 "@ali/mamods-rax-ui", 只要改动是将 description 的文案放到 title 下边 */ import { RaxNode } from 'rax'; import './index.scss'; export interface ListItemProps { /** * 标题 */ title: string; /** * 描述 */ description?: string; /** * 底部展示描述信息 */ bottomDescription?: boolean; /** * 额外文本 */ extra?: string; /** * 右侧占位信息 */ placeholder?: string; /** * 必选, 如果传入会有红色的星号 * @default false */ required?: boolean; /** * lassName */ className?: string; /** * 是否展示右侧箭头 * @default true */ arrow?: boolean; /** * 渲染右侧内容 (全部自定义要关闭arrow) */ renderRight?: RaxNode; /** * 渲染标题左侧icon */ renderLeftIcon?: RaxNode; /** * 点击回调函数 */ onClick?: () => void; } declare const ListItem: (props: ListItemProps) => JSX.Element; export default ListItem;