Skip to content

Commit

Permalink
fix: fix proptypes for value, add number type (#6112)
Browse files Browse the repository at this point in the history
  • Loading branch information
heorhi-deriv committed Aug 5, 2022
1 parent 7e00cb3 commit 8f3b270
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ DisplayText.propTypes = {
list: listPropType(),
name: PropTypes.string,
placeholder: PropTypes.string,
value: PropTypes.string,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
is_align_text_left: PropTypes.bool,
};

Expand Down

0 comments on commit 8f3b270

Please sign in to comment.