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

Properly type Icon component icon prop as required #1976

Merged
merged 1 commit into from Jul 11, 2022
Merged

Conversation

silasjmatson
Copy link
Contributor

@silasjmatson silasjmatson commented Jul 8, 2022

Please verify the following:

  • yarn ci:test jest tests pass with new tests, if relevant
  • README.md has been updated with your changes, if relevant

Describe your PR

The Icon component will do nothing without passing an icon prop to it. This corrects the prop types so that icon is not marked optional

@mazenchami mazenchami merged commit 524cb0d into master Jul 11, 2022
@mazenchami mazenchami deleted the fix-icon-type branch July 11, 2022 13:13
infinitered-circleci pushed a commit that referenced this pull request Aug 10, 2022
## [7.14.2](v7.14.1...v7.14.2) (2022-08-10)

### Bug Fixes

* **cli:** Handle "npm WARN" output in npm packager list command - fixes [#1993](#1993) ([#1998](#1998) by [@joshuayoes](https://github.com/joshuayoes)) ([07c1a01](07c1a01))
* **component:** Properly type Icon component icon prop as required ([#1976](#1976) by [@silasjmatson](https://github.com/silasjmatson)) ([524cb0d](524cb0d))
* **generator:** Added missing SnapshotIn import to model generator template ([#1986](#1986) by [@jojemapa](https://github.com/jojemapa)) ([d4d81ad](d4d81ad))
@infinitered-circleci
Copy link

🎉 This PR is included in version 7.14.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants