We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aab8f82 commit 9462201Copy full SHA for 9462201
snippets/javascript.es6.react.snippets
@@ -4,7 +4,8 @@ snippet ri1
4
5
# Import both React and Component
6
snippet ri2
7
- import React, { Component, PropTypes } from 'react'
+ import React, { Component } from 'react'
8
+ import PropTypes from 'prop-types'
9
10
# React class
11
snippet rcla
0 commit comments