Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API helper methods & more styling options #72

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

victorocna
Copy link

Hi there!

Just used your npm package today for a project I'm currently working on. Really appreciate its simplicity compared to others. I would love to see the proposed changes implemented, IMO it would make the API better and would provide more options to position the toast (in my project I needed to position it to top-right).

Best,
Victor

top: defaults.top,
left: '0px',
textAlign: 'center',
right: defaults.right || '0px',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you get rid of width, margin and textAlign values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants