mirror of
https://github.com/ritz078/transform.git
synced 2026-12-02 13:22:02 +03:00
transform-svg-to-native
This commit is contained in:
1 parent
7d5bed0f87
commit
3c8f38237b
6 files changed
+87
-38
No files matched your search
@@ -70,9 +70,7 @@ export default function({ types: t }) {
|
||||
|
||||
VariableDeclaration(path) {
|
||||
path.insertBefore(
|
||||
t.identifier(`import ImmutablePropTypes from 'react-immutable-proptypes'
|
||||
import PropTypes from 'prop-types
|
||||
`)
|
||||
t.identifier(`import ImmutablePropTypes from 'react-immutable-proptypes'`)
|
||||
);
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user