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 8 months ago

Package Health Score

71 / 100
Full package analysis