0.1.0 • Published 4 years ago

v-notifications v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

v-notifications

Users want to see feedback after their actions. This package can be used to show feedback to users.

Usage

npm install v-notifications
import notification from 'v-notifications/index.js';

notification(message, state, position);
ParameterDefaultType
messagenullstring
statesuccessstring
positionbottom-rightstring

State values

  • success
  • danger
  • warning

Position values

  • bottom-right
  • bottom-left
  • bottom-center

Examples

- notification('Hello World');

- notification('Hello World', 'danger');

- notification('Hello World', 'warning', 'bottom-left');

🔑 License

MIT © Şevki Oruç