Skip to main content

AlertBox

Function AlertBox 

Source
pub fn AlertBox(props: AlertBoxProps) -> impl IntoView
Expand description

提示条,用于显示成功、错误等状态消息。

Props:

  • message:提示文本
  • variant:"error"、"success",其他值为中性说明

§Required Props