Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

React 17 compatibility, PropTypes #4

@khaled98

Description

@khaled98

There is an issue when working with react v17, the imported "PropTypes" is undefined.

Solution is to change the import to this:

import PropTypes from 'prop-types';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions