diff --git a/packages/babel-preset/src/index.js b/packages/babel-preset/src/index.js
index 68e66f10..bb656fc2 100644
--- a/packages/babel-preset/src/index.js
+++ b/packages/babel-preset/src/index.js
@@ -28,7 +28,7 @@ function replaceMapToValues(replaceMap) {
}
const plugin = (api, opts) => {
- let toRemoveAttributes = ['xmlns', 'xmlnsXlink', 'version']
+ let toRemoveAttributes = ['version']
let toAddAttributes = []
if (opts.svgProps) {
diff --git a/packages/cli/src/__snapshots__/index.test.js.snap b/packages/cli/src/__snapshots__/index.test.js.snap
index bfb70700..c6a57053 100644
--- a/packages/cli/src/__snapshots__/index.test.js.snap
+++ b/packages/cli/src/__snapshots__/index.test.js.snap
@@ -9,7 +9,7 @@ exports[`cli should not override config with cli defaults 1`] = `
"import * as React from \\"react\\";
function SvgFile() {
- return ;
+ return ;
}
export default SvgFile;
@@ -23,7 +23,12 @@ exports[`cli should support --prettier-config as file 1`] = `
function SvgFile(props) {
return (
-