Skip to main content

EmptyState

Function EmptyState 

Source
pub fn EmptyState(props: EmptyStateProps) -> impl IntoView
Expand description

展示线条图标或吉祥物、标题与说明,可选一个行动按钮。

吉祥物优先于线条图标。图标默认为收件箱;无搜索结果可传 IconName::SearchX,缺图可传 IconName::ImageOff。

§Optional Props