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

Merging Theme Props #9

Open
2 of 4 tasks
kulkarnisaumitra98 opened this issue Dec 29, 2020 · 0 comments
Open
2 of 4 tasks

Merging Theme Props #9

kulkarnisaumitra98 opened this issue Dec 29, 2020 · 0 comments

Comments

@kulkarnisaumitra98
Copy link
Contributor

kulkarnisaumitra98 commented Dec 29, 2020

Perform deep merging of default or variant themeProps with direct props.

eg.

const finalProps = _.merge(
   get(theme, `input.${variant || type || 'default'}`, {}),
   directProps,
)

Following Components need this change:-

  • Picker
  • Input
  • Txt
  • Container
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

No branches or pull requests

1 participant