rsuite-notification
v3.0.4
Published
Notification component of React
Downloads
809
Readme
rsuite-notification
rsuite-notification
提供了 Alert
和 Nofity
两个组件。
快速开始
安装
npm install rsuite-notification
引入less文件:
@import "~rsuite-notification/lib/less/index";
使用
import { Alert, Notify} from 'rsuite-notification'
Alert.success(content);
Notify.success({
title: 'Success',
description: 'success messages success messages success messages',
duration: 50,
onClose: this.handleOnClose
});