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

fix: switch theme for single imported components #356

Merged
merged 2 commits into from
Apr 23, 2019

Conversation

pskelin
Copy link
Contributor

@pskelin pskelin commented Apr 23, 2019

when importing a single component like shown in the documentation,
the url parameters for setting a theme stopped working,
unless a ThemePropertiesProvider module is also imported.

This change returns the previous behaviour, where the single
imports have all features working.

when importing a single component like show in the documentation,
the url parameters for setting a theme stopped working,
unless a ThemePropertiesProvider module is also imported.

This change returns the previous behaviour, where the single
imports have all features working.
@pskelin pskelin requested review from MapTo0 and ilhan007 April 23, 2019 11:42
Copy link
Member

@ilhan007 ilhan007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we import the provider in ListItemBase as well?

@pskelin
Copy link
Contributor Author

pskelin commented Apr 23, 2019

Should we import the provider in ListItemBase as well?

I prefer not to add it to abstract classes. After your comment, I removed it from ListItem as well.

@pskelin pskelin merged commit dcd64a9 into master Apr 23, 2019
@ilhan007 ilhan007 deleted the fix-themes-for-single-imports branch April 23, 2019 12:25
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.

None yet

2 participants