Remove `import PropTypes from 'prop-types'`
vincentbel opened this issue · 1 comments
vincentbel commented
Using PropTypes in any other way than annotating React components with them is no longer supported. So I think it's safe to remove the import declaration.
I'll open an PR if you agree this. @mohsen1
mohsen1 commented
Yes I agree. There is also import React, {PropTypes} from 'react'
import statement that we need to remove PropTypes
from named import clause