npm i mininotice -S
import mininotice from 'mininotice'
import 'mininotice/lib/notice.css'
-
Mininotice.msg has the following parameters:
name type default desc msg String 'hello, notice' message of mininotice.msg type String 'info' there are four, namely: info
,success
,warning
,danger
canClose Boolean false Whether it can be closed