File tree 4 files changed +12
-8
lines changed
4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
import PropTypes from 'prop-types' ;
2
2
import React from 'react' ;
3
3
import {
4
+ ColorPropType ,
4
5
ViewPropTypes ,
5
6
View ,
6
7
} from 'react-native' ;
@@ -44,12 +45,12 @@ const propTypes = {
44
45
/**
45
46
* The stroke color to use for the path.
46
47
*/
47
- strokeColor : PropTypes . string ,
48
+ strokeColor : ColorPropType ,
48
49
49
50
/**
50
51
* The fill color to use for the path.
51
52
*/
52
- fillColor : PropTypes . string ,
53
+ fillColor : ColorPropType ,
53
54
54
55
/**
55
56
* The order in which this tile overlay is drawn with respect to other overlays. An overlay
Original file line number Diff line number Diff line change 1
1
import PropTypes from 'prop-types' ;
2
2
import React from 'react' ;
3
3
import {
4
+ ColorPropType ,
4
5
StyleSheet ,
5
6
Platform ,
6
7
NativeModules ,
@@ -62,7 +63,7 @@ const propTypes = {
62
63
* If no custom marker view or custom image is provided, the platform default pin will be used,
63
64
* which can be customized by this color. Ignored if a custom marker is being used.
64
65
*/
65
- pinColor : PropTypes . string ,
66
+ pinColor : ColorPropType ,
66
67
67
68
/**
68
69
* The coordinate for the marker.
Original file line number Diff line number Diff line change 1
1
import PropTypes from 'prop-types' ;
2
2
import React from 'react' ;
3
3
import {
4
+ ColorPropType ,
4
5
ViewPropTypes ,
5
6
View ,
6
7
} from 'react-native' ;
@@ -56,12 +57,12 @@ const propTypes = {
56
57
/**
57
58
* The stroke color to use for the path.
58
59
*/
59
- strokeColor : PropTypes . string ,
60
+ strokeColor : ColorPropType ,
60
61
61
62
/**
62
63
* The fill color to use for the path.
63
64
*/
64
- fillColor : PropTypes . string ,
65
+ fillColor : ColorPropType ,
65
66
66
67
/**
67
68
* The order in which this tile overlay is drawn with respect to other overlays. An overlay
Original file line number Diff line number Diff line change 1
1
import PropTypes from 'prop-types' ;
2
2
import React from 'react' ;
3
3
import {
4
+ ColorPropType ,
4
5
ViewPropTypes ,
5
6
View ,
6
7
} from 'react-native' ;
@@ -39,7 +40,7 @@ const propTypes = {
39
40
/**
40
41
* The fill color to use for the path.
41
42
*/
42
- fillColor : PropTypes . string ,
43
+ fillColor : ColorPropType ,
43
44
44
45
/**
45
46
* The stroke width to use for the path.
@@ -49,12 +50,12 @@ const propTypes = {
49
50
/**
50
51
* The stroke color to use for the path.
51
52
*/
52
- strokeColor : PropTypes . string ,
53
+ strokeColor : ColorPropType ,
53
54
54
55
/**
55
56
* The stroke colors to use for the path.
56
57
*/
57
- strokeColors : PropTypes . arrayOf ( PropTypes . string ) ,
58
+ strokeColors : PropTypes . arrayOf ( ColorPropType ) ,
58
59
59
60
/**
60
61
* The order in which this tile overlay is drawn with respect to other overlays. An overlay
You can’t perform that action at this time.
0 commit comments