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

Fixes prop types in themeswitch component #10

Merged
merged 2 commits into from
May 8, 2024
Merged

Fixes prop types in themeswitch component #10

merged 2 commits into from
May 8, 2024

Conversation

jlsnow301
Copy link
Contributor

The props type was not actually being applied to the themeswitch component.

image

This gives the component some level of type safety / prevents the type from displaying as "Record<string, any>"

image

@surjithctly surjithctly merged commit db95add into surjithctly:main May 8, 2024
@surjithctly
Copy link
Owner

thank you

@jlsnow301 jlsnow301 deleted the typed-props branch May 8, 2024 07:51
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