How to use the react-notifications-component.store.removeNotification function in react-notifications-component

To help you get started, we’ve selected a few react-notifications-component examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github balena-io-modules / rendition / src / components / Notifications / index.tsx View on Github external
onDismiss={() => {
				if (onDismiss) {
					onDismiss();
				}
				store.removeNotification(id);
			}}
		>
github balena-io-modules / rendition / src / components / Notifications / index.tsx View on Github external
	removeNotification: (id: string | number) => store.removeNotification(id),
};

react-notifications-component

React component for creating notifications on the fly

MIT
Latest version published 3 years ago

Package Health Score

53 / 100
Full package analysis