How to use the reapop.POSITIONS.topCenter function in reapop

To help you get started, we’ve selected a few reapop 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 zhuyst / SkyBlog / client_web / src / action / common / NotifyAction.js View on Github external
export const error = (message) => {
  return notify({
    message,
    status: STATUS.error,
    position: POSITIONS.topCenter,
    closeButton: true,
  });
};

reapop

A simple & customizable notifications system for React

MIT
Latest version published 1 year ago

Package Health Score

54 / 100
Full package analysis