Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
⬆️ update packages to the latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewagain committed Dec 10, 2017
1 parent 2f42dc3 commit 655b9ea
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"private": true,
"homepage": "http://ahfarmer.github.io/calculator",
"devDependencies": {
"gh-pages": "^0.11.0",
"react-scripts": "0.4.1"
"gh-pages": "^1.1.0",
"react-scripts": "^1.0.17"
},
"dependencies": {
"big.js": "^3.1.3",
"big.js": "^5.0.3",
"github-fork-ribbon-css": "^0.2.1",
"react": "^15.3.1",
"react-dom": "^15.3.1"
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
File renamed without changes.
9 changes: 5 additions & 4 deletions src/component/Button.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import './Button.css';

class Button extends React.Component {
Expand Down Expand Up @@ -29,9 +30,9 @@ class Button extends React.Component {
}
}
Button.propTypes = {
name: React.PropTypes.string,
orange: React.PropTypes.bool,
wide: React.PropTypes.bool,
clickHandler: React.PropTypes.func,
name: PropTypes.string,
orange: PropTypes.bool,
wide: PropTypes.bool,
clickHandler: PropTypes.func,
};
export default Button;
4 changes: 3 additions & 1 deletion src/component/ButtonPanel.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Button from './Button';
import React from 'react';
import PropTypes from 'prop-types';

import './ButtonPanel.css';

class ButtonPanel extends React.Component {
Expand Down Expand Up @@ -44,6 +46,6 @@ class ButtonPanel extends React.Component {
}
}
ButtonPanel.propTypes = {
clickHandler: React.PropTypes.func,
clickHandler: PropTypes.func,
};
export default ButtonPanel;
4 changes: 3 additions & 1 deletion src/component/Display.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';

import './Display.css';

class Display extends React.Component {
Expand All @@ -13,6 +15,6 @@ class Display extends React.Component {
}
}
Display.propTypes = {
value: React.PropTypes.string,
value: PropTypes.string,
};
export default Display;

0 comments on commit 655b9ea

Please sign in to comment.