Skip to content

Commit 70de3bb

Browse files
committed
add prop-types
1 parent fb9bdb0 commit 70de3bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
/**
22
* Created by Dowin on 17/1/4.
33
*/
4-
import React, { Component, PropTypes } from 'react';
4+
import React, { Component } from 'react';
55
import { requireNativeComponent} from 'react-native';
66
var ChartView = requireNativeComponent('charV', ZKChartView);
7+
import PropTypes from 'prop-types';
78

89
export default class ZKChartView extends Component {
910
static propTypes = {

0 commit comments

Comments
 (0)