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

Respect style/className Props #38

Open
spudly opened this issue Nov 16, 2021 · 0 comments
Open

Respect style/className Props #38

spudly opened this issue Nov 16, 2021 · 0 comments
Labels
feature New feature or request
Milestone

Comments

@spudly
Copy link
Collaborator

spudly commented Nov 16, 2021

  • user should be able to pass className/style as a value or a function
  • passing as a value will override the default
  • passing as a function will allow user to choose what to do
  • for complex components, this could be a map of classNames/styles (e.g., className={{wrapper: 'some-class', innerDiv: 'some-other-class'}})
@spudly spudly added the feature New feature or request label Nov 16, 2021
@spudly spudly added this to the MVP milestone Nov 16, 2021
@spudly spudly changed the title Ensure all components can be restyled using className and style props Respect style/className Props Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant