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

Update type for SliderStyles #950

Open
Frankusky opened this issue Nov 14, 2023 · 0 comments
Open

Update type for SliderStyles #950

Frankusky opened this issue Nov 14, 2023 · 0 comments

Comments

@Frankusky
Copy link

Frankusky commented Nov 14, 2023

SliderStyles properties should be able to receive an array of objects or an object

This line should be replaced with
export type SliderStyles = Partial<Record<SemanticName, React.CSSProperties|React.CSSProperties[]>>;

Currently it throws a Typescript error when I try to pass an array of objects on rail, handle and track properties

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 a pull request may close this issue.

1 participant