Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

rsuite-legacy/rsuite-notification

Repository files navigation

Travis npm Coverage Status

rsuite-notification

rsuite-notification 提供了 AlertNofity 两个组件。

快速开始

安装

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
    });