Skip to content
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

Merged
merged 3 commits into from
Feb 18, 2023
Merged

feat(component): added a Toast component that reads the label, the po… #157

merged 3 commits into from
Feb 18, 2023

Conversation

itaim18
Copy link
Contributor

@itaim18 itaim18 commented Feb 16, 2023

…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

    1. One use case
    1. Another use case

Screenshots/Demo

Checklist:

  • My code follows the developer guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • Added new tests to cover the fix / functionality

@github-actions
Copy link
Contributor

github-actions bot commented Feb 16, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@itaim18
Copy link
Contributor Author

itaim18 commented Feb 16, 2023

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Feb 16, 2023
@itaim18
Copy link
Contributor Author

itaim18 commented Feb 16, 2023

This PR will close #134

Comment on lines 16 to 18
export const Toast = component$((props: ToastProps) => {
const { label, top, start, center, end, middle, bottom, alert, ...rest } =
props;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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) => {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

On it

packages/daisy/src/components/toast/toast.tsx Outdated Show resolved Hide resolved
packages/daisy/src/components/toast/toast.tsx Outdated Show resolved Hide resolved
packages/headless/src/components/toast/toast.tsx Outdated Show resolved Hide resolved
packages/headless/src/components/toast/toast.tsx Outdated Show resolved Hide resolved
packages/headless/src/components/toast/toast.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@gioboa gioboa left a comment

Choose a reason for hiding this comment

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

Looking good. 👍

@gioboa
Copy link
Contributor

gioboa commented Feb 18, 2023

@all-contributors please add @itaim18 for code, doc

@allcontributors
Copy link
Contributor

@gioboa

I've put up a pull request to add @itaim18! 🎉

@gioboa gioboa merged commit 019f7fa into qwikifiers:main Feb 18, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Feb 18, 2023
@itaim18 itaim18 deleted the itaiM-branch branch February 18, 2023 21:33
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants