Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
I have this warning when running react-svg from create-react-app boilterplate.
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
Could you consider replacing this by below in src/index.js? import React, { Component, PropTypes } from 'react'
to
import React, { Component } from 'react' import PropTypes from 'prop-types'
Thanks in advance
Resolved with #23, just waiting for a maintainer :+1:
@tanem do you have an idea of when you might be able to review the two open pulls? i don't really wanna fork this, but i understand if you guys are too busy
Much needed update indeed ! This warning is not cool to look at 😄
Hey all, sorry for the delay, been tied up on other things. Just looking at that PR now.
Just pushed 2.1.20, should be all good now 👍