Skip to content

Commit bd73ea9

Browse files
committed
Update timeZone example app to use React 15.5
1 parent 3b33faa commit bd73ea9

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

examples/explicit-timezone/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
"react-scripts": "0.6.0"
1111
},
1212
"dependencies": {
13-
"react": "^15.3.2",
14-
"react-dom": "^15.3.2",
15-
"react-intl": "^2.1.5"
13+
"prop-types": "^15.5.4",
14+
"react": "^15.5.4",
15+
"react-dom": "^15.5.4",
16+
"react-intl": "^2.3.0"
1617
},
1718
"scripts": {
1819
"start": "react-scripts start",

examples/explicit-timezone/src/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, {Component, PropTypes} from 'react';
1+
import React, {Component} from 'react';
2+
import PropTypes from 'prop-types';
23
import {FormattedDate, FormattedTime} from 'react-intl';
34

45
class App extends Component {

0 commit comments

Comments
 (0)