Skip to main content
版本:v3

Toast 提示

类型

(props: Props, renderFuncArr?: RenderFunc | Array<RenderFunc>) => result: RenderFunc

Props: object

名称说明必填类型默认值
duration弹窗提示持续时间number2000
horizontalToast 的水平位置stringcenter
message要显示的消息string-
verticalToast 的垂直位置stringtop
visible如果为 true,则 Toast 可见boolean-
onClose当组件请求关闭时触发回调function-