Skip to content

Toast - fix typings #1333

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

Merged
merged 4 commits into from
Jun 3, 2021
Merged

Toast - fix typings #1333

merged 4 commits into from
Jun 3, 2021

Conversation

M-i-k-e-l
Copy link
Collaborator

Description

Toast - fix typings

Changelog

Toast - fix typings

Resolves #1249

@M-i-k-e-l M-i-k-e-l added the typescript typescript related issue label Jun 2, 2021
@M-i-k-e-l M-i-k-e-l requested a review from lidord-wix June 2, 2021 12:00
icon?: ImageRequireSource;
actions?: ReadonlyArray<ButtonProps>;
Copy link
Contributor

Choose a reason for hiding this comment

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

action prop is missing

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

@@ -19,18 +12,16 @@ export interface ToastProps {
backgroundColor?: ColorValue;
Copy link
Contributor

Choose a reason for hiding this comment

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

height prop is unused :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

@M-i-k-e-l M-i-k-e-l requested a review from lidord-wix June 3, 2021 07:58
icon?: ImageRequireSource;
actions?: ReadonlyArray<ButtonProps>;
onDismiss?: (event: GestureResponderEvent) => void;
actions?: ButtonProps;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be action, no?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oops, fixed

@lidord-wix lidord-wix merged commit b6f653c into master Jun 3, 2021
@M-i-k-e-l M-i-k-e-l deleted the fix/toast-typings branch October 4, 2021 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript typescript related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Toast" doc may need to be updated
2 participants