0.12.0 • Published 1 month ago
@splunk/react-toast-notifications v0.12.0
@splunk/react-toast-notifications
A package for creating toast notifications in a React application.
Install
Install the package and its dependencies.
- Install the peer dependencies:
npm install react@^16 styled-components@^5
- Install the package:
npm install @splunk/react-toast-notifications
Usage
Only import these once. See Usage for details.
import ToastMessages from '@splunk/react-toast-notifications/ToastMessages';
import Toaster, { makeCreateToast } from '@splunk/react-toast-notifications/Toaster';
import { TOAST_TYPES } from '@splunk/react-toast-notifications/ToastConstants';
Production builds
Both @splunk/react-toast-notifications
and React support production and development builds. The production build removes warnings and guidance from the output. To create a production build, set the environment variable NODE_ENV
to "production"
and use the webpack DefinePlugin to inject the variable into the code.
0.12.0-rc.2
1 month ago
0.12.0-rc.1
2 months ago
0.12.0-beta.1.v5.2
4 months ago
0.12.0
1 month ago
0.11.3
2 years ago
0.11.2
2 years ago
0.11.1
3 years ago
0.11.0
3 years ago
0.10.1
3 years ago
0.10.0
4 years ago
0.9.0
4 years ago
0.8.0
5 years ago
0.7.0
5 years ago
0.6.2
6 years ago
0.6.1
6 years ago
0.6.0
6 years ago
0.5.0
6 years ago
0.4.0
7 years ago
0.3.0
7 years ago
0.2.0
7 years ago