File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-listview-sticky-header" ,
3
- "version" : " 0.5.3 " ,
3
+ "version" : " 0.5.4 " ,
4
4
"description" : " react listview with sticky header" ,
5
5
"main" : " dist/index.js" ,
6
6
"scripts" : {
79
79
"tape" : " ^4.5.1" ,
80
80
"webpack" : " ^1.13.0" ,
81
81
"webpack-dev-server" : " ^1.14.1"
82
+ },
83
+ "dependencies" : {
84
+ "prop-types" : " ^15.5.10"
82
85
}
83
86
}
Original file line number Diff line number Diff line change 1
- import React , { Component , PropTypes } from 'react'
1
+ import React , { Component } from 'react'
2
2
import { findDOMNode } from 'react-dom'
3
3
import ListHeader from './lib/ListHeader'
4
4
import ListItems from './lib/ListItems'
5
+ import PropTypes from 'prop-types'
5
6
6
7
export default class ReactListView extends Component {
7
8
static propTypes = {
Original file line number Diff line number Diff line change 1
- import React , { Component , PropTypes } from 'react'
1
+ import React , { Component } from 'react'
2
+ import PropTypes from 'prop-types'
2
3
3
4
export default class ListHeader extends Component {
4
5
static propTypes = {
Original file line number Diff line number Diff line change 1
- import React , { Component , PropTypes } from 'react'
1
+ import React , { Component } from 'react'
2
+ import PropTypes from 'prop-types'
2
3
3
4
export default class ListItem extends Component {
4
5
static propTypes = {
You can’t perform that action at this time.
0 commit comments