4.6.201909241604 • Published 5 years ago
@dfeidao/fd-am000028 v4.6.201909241604
snack-bar提示信息
Installation
yarn add --dev @dfeidao/fd-am000028
Params
属性 | 描述 |
---|---|
message | 显示的文字信息 |
duration | 显示的时间,时间结束后自动消失 |
position | 显示的位置 'top' | ’bottom‘ |
text_color | 显示的文字颜色 |
background_color | 提示框的背景颜色 |
heigh | 提示框高度 |
Example
样列
import am028 from '@dfeidao/fd-am000028';
am028('success', 1000, 'top', '#ffffff', '#444444', 44);
图片展示