Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

Commit f6ee6c8

Browse files
committed
Fix Badge PropTypes
1 parent ee2602b commit f6ee6c8

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Upcoming
2+
3+
## Fix
4+
5+
- Fix Badge PropTypes
6+
17
# 7.0.1
28

39
## Updates

packages/visual-stack/src/components/Badge/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ Badge.defaultProps = {
2626
Badge.propTypes = {
2727
children: PropTypes.node,
2828
className: PropTypes.string,
29-
variant: PropTypes.oneOf('default', 'cj-green', '1', '2', '3', '4', '5'),
29+
variant: PropTypes.oneOf(['default', 'cj-green', '1', '2', '3', '4', '5']),
3030
};

0 commit comments

Comments
 (0)