diff --git a/src/Arrow/index.js b/src/Arrow/index.js index 42f92b5b..1e849750 100644 --- a/src/Arrow/index.js +++ b/src/Arrow/index.js @@ -77,7 +77,7 @@ Arrow.propTypes = { * Controls how far the arrow is placed from the container's edge when * the placement contains a '-start' or '-end' suffix. */ - distanceFromEdge: PropTypes.number, + distanceFromEdge: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), /** * The arrow will be placed on the opposing side of the defined direction: * 'top', 'bottom', 'left', or 'right'. diff --git a/src/Text/index.js b/src/Text/index.js index d76cc072..251b0d1d 100644 --- a/src/Text/index.js +++ b/src/Text/index.js @@ -50,7 +50,11 @@ Text.propTypes = { PropTypes.array, ]), fontSize: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), - lineHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.array]), + lineHeight: PropTypes.oneOfType([ + PropTypes.number, + PropTypes.string, + PropTypes.array, + ]), overflow: PropTypes.oneOfType([ PropTypes.oneOf(['ellipsis', 'wrap']), PropTypes.array,