Skip to content

Commit 576403f

Browse files
committed
Fix prop types in numeric display
1 parent a13954c commit 576403f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/NumericDisplay/NumericDisplay.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ const NumericDisplay = (
4646
</span>
4747
);
4848

49-
NumericDisplay.propTypes = { value: PropTypes.number.isRequired };
49+
NumericDisplay.propTypes = {
50+
value: PropTypes.number.isRequired,
51+
shortForm: PropTypes.bool.isRequired,
52+
};
5053

5154
NumericDisplay.defaultProps = {};
5255

0 commit comments

Comments
 (0)