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: options' className overwriting default styles instead of extending them #175

Merged
merged 1 commit into from May 20, 2023

Conversation

stoil-terziev
Copy link
Contributor

Fixes #75

Currently, options are being spread after className, causing any option defined with custom className to lose the default styles.

@codecov
Copy link

codecov bot commented May 20, 2023

Codecov Report

Merging #175 (152e92b) into master (c39fdc9) will not change coverage.
The diff coverage is n/a.

❗ Current head 152e92b differs from pull request most recent head 0fccbc0. Consider uploading reports for the commit 0fccbc0 to get more accurate results

@@           Coverage Diff           @@
##           master     #175   +/-   ##
=======================================
  Coverage   99.13%   99.13%           
=======================================
  Files           2        2           
  Lines         115      115           
  Branches       26       26           
=======================================
  Hits          114      114           
  Misses          1        1           
Impacted Files Coverage Δ
src/index.tsx 98.21% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@afc163 afc163 merged commit cb23efc into react-component:master May 20, 2023
6 checks passed
@afc163
Copy link
Member

afc163 commented May 22, 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.

className in options is overwritten
2 participants