Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

fix(Button): make primary & secondary props mutually exclusive #431

Merged
merged 3 commits into from
Nov 5, 2018

Conversation

layershifter
Copy link
Member

Refs #419.

This PR makes primary & secondary props mutually exclusive like in #429.

CHANGELOG.md Outdated
@@ -23,6 +23,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

### Fixes
- Fix endMedia to not be removed from DOM on mouseleave for `ListItem` @musingh1 ([#278](https://github.com/stardust-ui/react/pull/278))
- Make `secondary` and `primary` props mutually exclusive for `Button` @layershifter ([#429](https://github.com/stardust-ui/react/pull/429))
Copy link
Member

Choose a reason for hiding this comment

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

I would omit this in changelog as the Unreleased version is the one which introduces #419.

@codecov
Copy link

codecov bot commented Nov 5, 2018

Codecov Report

Merging #431 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #431   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files          41       41           
  Lines        1337     1337           
  Branches      168      193   +25     
=======================================
  Hits         1228     1228           
  Misses        105      105           
  Partials        4        4
Impacted Files Coverage Δ
src/components/Button/Button.tsx 95.74% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58b4c0d...2be899e. Read the comment docs.

@layershifter layershifter merged commit 3d30c8b into master Nov 5, 2018
@layershifter layershifter added 🚀 ready for review 🧰 fix Introduces fix for broken behavior. labels Nov 5, 2018
@layershifter layershifter deleted the fix/button-mutually branch November 5, 2018 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧰 fix Introduces fix for broken behavior. 🚀 ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants