LazyImage
LazyImage copied to clipboard
Width and Height need to support percentage value
Hi,
Seems your component support percentage value for its width and height, yet its still give warning that number
expected instead of string
. Should use PropTypes.oneOfType
in your component instead just PropTypes.number
facing the same warnings, but I don't beleieve the component supports height and width values as percentages.