MVP Verson: 0.4.8 beta
Lang Icon
Toggle Icon
Notice
A succinct message that is displayed temporarily.
Success
PreviewCode
Caution
PreviewCode
Fail
PreviewCode
Material Design
PreviewCode
Props
Universal Props
PropTypeAccepted ValuesDescriptionDefaultVersion
messageReactNode-Notification content--
variantstringdefault | mdThe Material Design style can be enabled, and the notification pop-up window is located in the lower left corner.defaultmd >= 0.4.7
methodfunctionsuccess() | fail() | caution()Notification type method. Determines icon/color and is triggered via useNotice().--