-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(component): added a Toast component that reads the label, the po… #157
Conversation
…sition and alert type
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
This PR will close #134 |
export const Toast = component$((props: ToastProps) => { | ||
const { label, top, start, center, end, middle, bottom, alert, ...rest } = | ||
props; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export const Toast = component$((props: ToastProps) => { | |
const { label, top, start, center, end, middle, bottom, alert, ...rest } = | |
props; | |
export const Toast = component$(({ label, top, start, center, end, middle, bottom, alert, ...rest }: ToastProps) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. 👍
@all-contributors please add @itaim18 for code, doc |
I've put up a pull request to add @itaim18! 🎉 |
…sition and alert type
What is it?
Feature / enhancement
Bug
Docs / tests
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why
Screenshots/Demo
Checklist: