ActionSheet 操作列表
#
使用场景展示一组快捷操作。
#
示例#
基本用法noInline
#
API字段 | 描述 |
---|---|
title | string 面板标题 |
target | ReactNode |
renderTarget | (params_0: { ref: RefObject<any>; onClick(e: MouseEvent<Element, MouseEvent>): void; onMouseEnter(e: MouseEvent<Element, MouseEvent>): void; onMouseLeave(e: MouseEvent<...>): void; onFocus(e: FocusEvent<...>): void; onBlur(e: FocusEvent<...>): void; }, params_1: Pick<...>) => ReactNode |
dataSource | MenuItem[] 菜单列表 |
onItemClick | (key: string, detail: { item: MenuItem; event: MouseEvent<HTMLDivElement, MouseEvent>; }) => void 点击列表项时的回调 |