3.0.0 • Published 2 years ago

melba-toast v3.0.0

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

melba-toast - A tiny toast library

My focus for making this was to have a minimal toast that can easily be extended as necessary. The styling is currently minimal but that is by design and the aim would be for users to augment the styles and theme as necessary.

Installation

yarn add melba-toast

or

npm i melba-toast

Usage

import Melba from 'melba-toast';

const toast = new Melba({
    content: 'Testing',
    type: 'error'
});

See src/Melba.ts for additional options that can be passed in.

Be sure to load the styles too:

/* SCSS */
@import '~melba-toast';
3.0.0

2 years ago

2.0.0

2 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago