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

Update themr.js #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update themr.js #84

wants to merge 1 commit into from

Conversation

wotsyula
Copy link

Allows for theming of HOC and components without a function name. Since HOC have different function name than original, we should check for displayName 1st and fall back to Component for nameless components.

Allows for theming of HOC and components without a function name. Since HOC have different function name than original, we should check for `displayName` 1st and fall back to `Component` for nameless components.
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

1 participant