Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from FezVrasta/fix-8
Browse files Browse the repository at this point in the history
fix: Fixed #8
  • Loading branch information
souporserious authored Apr 25, 2017
2 parents a964bb2 + c732156 commit 62f0374
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
3 changes: 2 additions & 1 deletion example/index.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes, Children, createElement } from 'react'
import React, { Component, Children, createElement } from 'react'
import PropTypes from 'prop-types'
import ReactDOM, { findDOMNode } from 'react-dom'
import { Manager, Target, Popper, Arrow } from '../src/react-popper'
import { placements } from 'popper.js'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"node-libs-browser": "^1.0.0",
"node-sass": "^3.2.0",
"postcss-loader": "^0.13.0",
"prop-types": "^15.5.8",
"react": "15.3.2",
"react-dom": "15.3.2",
"react-measure": "^1.4.6",
Expand Down
3 changes: 2 additions & 1 deletion src/Arrow.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes, createElement } from 'react'
import React, { Component, createElement } from 'react'
import PropTypes from 'prop-types'
import { findDOMNode } from 'react-dom'

class Arrow extends Component {
Expand Down
3 changes: 2 additions & 1 deletion src/Manager.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes, createElement } from 'react'
import React, { Component, createElement } from 'react'
import PropTypes from 'prop-types'
import ReactDOM from 'react-dom'

class Manager extends Component {
Expand Down
3 changes: 2 additions & 1 deletion src/Popper.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes, createElement } from 'react'
import React, { Component, createElement } from 'react'
import PropTypes from 'prop-types'
import ReactDOM, { findDOMNode } from 'react-dom'
import PopperJS from 'popper.js'
import isEqual from 'lodash.isequal'
Expand Down
3 changes: 2 additions & 1 deletion src/Target.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes, createElement } from 'react'
import React, { Component, createElement } from 'react'
import PropTypes from 'prop-types'
import { findDOMNode } from 'react-dom'

class Target extends Component {
Expand Down
8 changes: 7 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1699,7 +1699,7 @@ faye-websocket@~0.11.0:
dependencies:
websocket-driver ">=0.5.1"

fbjs@^0.8.4:
fbjs@^0.8.4, fbjs@^0.8.9:
version "0.8.9"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.9.tgz#180247fbd347dcc9004517b904f865400a0c8f14"
dependencies:
Expand Down Expand Up @@ -3199,6 +3199,12 @@ promise@^7.1.1:
dependencies:
asap "~2.0.3"

prop-types@^15.5.8:
version "15.5.8"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.8.tgz#6b7b2e141083be38c8595aa51fc55775c7199394"
dependencies:
fbjs "^0.8.9"

proxy-addr@~1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-1.1.3.tgz#dc97502f5722e888467b3fa2297a7b1ff47df074"
Expand Down

0 comments on commit 62f0374

Please sign in to comment.