Skip to content

Width and Height need to support percentage value #7

Description

@diondirza

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions