0.11.3 • Published 5 months ago

@splunk/react-toast-notifications v0.11.3

Weekly downloads
53
License
Apache-2.0
Repository
-
Last release
5 months ago

@splunk/react-toast-notifications

A package for creating toast notifications in a React application.

Install

Install the package and its dependencies.

  1. Install the peer dependencies:
    npm install react@^16 styled-components@^5
  2. 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.11.3

5 months ago

0.11.2

11 months ago

0.11.1

1 year ago

0.11.0

2 years ago

0.10.1

2 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago