mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-29 21:25:00 +00:00
refactor Components props extracting
This commit is contained in:
+1
-4
@@ -1,7 +1,7 @@
|
||||
import {Component, PropTypes} from 'react';
|
||||
import {numberProp} from '../lib/props';
|
||||
|
||||
class Stop extends Component{
|
||||
export default class extends Component{
|
||||
static displayName = 'Stop';
|
||||
static propTypes = {
|
||||
stopColor: PropTypes.string,
|
||||
@@ -17,6 +17,3 @@ class Stop extends Component{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default Stop;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user