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

feat: support style prop as object and camel/Pascal case #37

Merged
merged 4 commits into from
Jan 1, 2024

Conversation

aralroca
Copy link
Collaborator

@aralroca aralroca commented Jan 1, 2024

Fixes #36

I added support to use object for style props, and all the type-check is working fine thanks to this previous PR: #35

Also is possible to use style props as string, not recommended because as object improve a lot the DX with type-check and also easy to use variables inside.

Screenshot 2024-01-01 at 22 24 04

@aralroca aralroca requested review from amatiasq and danielart January 1, 2024 21:28
@aralroca aralroca self-assigned this Jan 1, 2024
@aralroca
Copy link
Collaborator Author

aralroca commented Jan 1, 2024

@danielart @amatiasq By the way, I mention you in case you are interested in following the progress of the project or want to give feedback will always be welcome, but if something bothers you feel free to comment it privately. By the way, happy new year 2024!

@aralroca aralroca merged commit 45e2bea into main Jan 1, 2024
1 check failed
@aralroca aralroca deleted the style-props-as-obj branch January 1, 2024 21:33
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.

Support inline styles prop as object
1 participant