Skip to content

Conversation

@carloskelly13
Copy link
Contributor

Addresses #212

The spread order of the internal highlight component was overriding the theme provided by props. This fixes the bug where not providing a theme (and falling back to the internal one) will work correctly.

How to test:

  • Build the library and run the /demo project
  • Remove active prop theme from <Highlight /> or pass in undefined
  • See that it still works

@carloskelly13 carloskelly13 requested a review from gksander June 8, 2023 11:39
@carloskelly13 carloskelly13 merged commit 85212b6 into master Jun 8, 2023
@carloskelly13 carloskelly13 deleted the fix/child-prop-spreading branch June 8, 2023 13:27
This was referenced Jun 8, 2023
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.

3 participants