mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-24 19:48:46 +00:00
fix lint warning, remove unused module
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
import React, {Children, Component, cloneElement, PropTypes} from 'react';
|
||||
import {View, requireNativeComponent} from "react-native";
|
||||
import {View, requireNativeComponent} from 'react-native';
|
||||
import ViewBox from './ViewBox';
|
||||
|
||||
// Svg - Root node of all Svg elements
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
import {PropTypes} from "react";
|
||||
export default PropTypes.oneOfType([PropTypes.string, PropTypes.number]);
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import {PropTypes} from "react";
|
||||
import {PropTypes} from 'react';
|
||||
|
||||
const numberProp = PropTypes.oneOfType([PropTypes.string, PropTypes.number]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user