Skip to content

Moved ColorSliderGroup to FC. #2833

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 8 commits into from
Dec 13, 2023
Merged

Moved ColorSliderGroup to FC. #2833

merged 8 commits into from
Dec 13, 2023

Conversation

nitzanyiz
Copy link
Collaborator

Description

Moved ColorSliderGroup to FC.

Changelog

Additional info

@nitzanyiz nitzanyiz changed the title To fc/color slider group Moved ColorSliderGroup to FC. Nov 29, 2023
@nitzanyiz nitzanyiz marked this pull request as ready for review November 30, 2023 09:14
@nitzanyiz nitzanyiz requested review from ethanshar and Inbal-Tish and removed request for ethanshar November 30, 2023 14:58
@Inbal-Tish Inbal-Tish self-assigned this Dec 5, 2023
labelsStyle,
accessible,
labels,
migrate
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems like you could pick up the props you need for the group (container) and pass the others as "others" to the ColorSlider, no?

Copy link
Collaborator Author

@nitzanyiz nitzanyiz Dec 5, 2023

Choose a reason for hiding this comment

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

Most of them, Yeah. Fixed.

@nitzanyiz nitzanyiz requested a review from Inbal-Tish December 5, 2023 12:11
@Inbal-Tish
Copy link
Collaborator

@nitzanwix Looks great. I left a small coment

@nitzanyiz nitzanyiz requested a review from Inbal-Tish December 11, 2023 11:47
return null;
};
const onValueChange = useCallback((value: string) => {
props.onValueChange?.(value);
Copy link
Collaborator

Choose a reason for hiding this comment

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

props can potentially be undefied so add a ? after

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

@nitzanyiz nitzanyiz requested a review from Inbal-Tish December 13, 2023 09:23
@Inbal-Tish Inbal-Tish merged commit f3e00eb into master Dec 13, 2023
@nitzanyiz nitzanyiz deleted the toFC/ColorSliderGroup branch March 7, 2024 09:44
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