@@ -18,7 +18,7 @@ exports[`cli --no-expand-props 1`] = `
1818"import React from \\ "react\\ ";
1919
2020const One = () => (
21- <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" >
21+ <svg width = { 48 } height = { 1 } >
2222 <title >Rectangle 5</title >
2323 <path d =\\"M0 0h48v1H0z\\" fill =\\"#063855\\" fillRule =\\"evenodd\\" />
2424 </svg >
@@ -32,7 +32,7 @@ export default One;
3232exports [` cli --no-prettier 1` ] = `
3333"import React from 'react'
3434
35- const One = (props) => <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" { ... props } >
35+ const One = (props) => <svg width = { 48 } height = { 1 } { ... props } >
3636 <title >
3737 Rectangle 5
3838 </title >
@@ -48,7 +48,7 @@ exports[`cli --no-semi 1`] = `
4848"import React from \\ "react\\ "
4949
5050const One = props => (
51- <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" { ... props } >
51+ <svg width = { 48 } height = { 1 } { ... props } >
5252 <title >Rectangle 5</title >
5353 <path d =\\"M0 0h48v1H0z\\" fill =\\"#063855\\" fillRule =\\"evenodd\\" />
5454 </svg >
@@ -103,7 +103,7 @@ exports[`cli --no-title 1`] = `
103103"import React from \\ "react\\ ";
104104
105105const One = props => (
106- <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" { ... props } >
106+ <svg width = { 48 } height = { 1 } { ... props } >
107107 <path d =\\"M0 0h48v1H0z\\" fill =\\"#063855\\" fillRule =\\"evenodd\\" />
108108 </svg >
109109);
@@ -117,7 +117,7 @@ exports[`cli --precision 1`] = `
117117"import React from \\ "react\\ ";
118118
119119const One = props => (
120- <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" { ... props } >
120+ <svg width = { 48 } height = { 1 } { ... props } >
121121 <title >Rectangle 5</title >
122122 <path d =\\"M0 0h48v1H0z\\" fill =\\"#063855\\" fillRule =\\"evenodd\\" />
123123 </svg >
@@ -132,7 +132,7 @@ exports[`cli --replace-attr-value 1`] = `
132132"import React from \\ "react\\ ";
133133
134134const One = props => (
135- <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" { ... props } >
135+ <svg width = { 48 } height = { 1 } { ... props } >
136136 <title >Rectangle 5</title >
137137 <path d =\\"M0 0h48v1H0z\\" fill =\\"currentColor\\" fillRule =\\"evenodd\\" />
138138 </svg >
@@ -148,7 +148,7 @@ exports[`cli --template 1`] = `
148148
149149export default function One() {
150150 return (
151- <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" { ... props } >
151+ <svg width = { 48 } height = { 1 } { ... props } >
152152 <title >Rectangle 5</title >
153153 <path d =\\"M0 0h48v1H0z\\" fill =\\"#063855\\" fillRule =\\"evenodd\\" />
154154 </svg >
@@ -162,7 +162,7 @@ exports[`cli should work with a simple file 1`] = `
162162"import React from \\ "react\\ ";
163163
164164const One = props => (
165- <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" { ... props } >
165+ <svg width = { 48 } height = { 1 } { ... props } >
166166 <title >Rectangle 5</title >
167167 <path d =\\"M0 0h48v1H0z\\" fill =\\"#063855\\" fillRule =\\"evenodd\\" />
168168 </svg >
@@ -177,7 +177,7 @@ exports[`cli should work with output directory 1`] = `
177177"import React from \\ "react\\ ";
178178
179179const One = props => (
180- <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" { ... props } >
180+ <svg width = { 48 } height = { 1 } { ... props } >
181181 <title >Rectangle 5</title >
182182 <path d =\\"M0 0h48v1H0z\\" fill =\\"#063855\\" fillRule =\\"evenodd\\" />
183183 </svg >
@@ -191,7 +191,7 @@ exports[`cli should work with output directory 2`] = `
191191"import React from \\ "react\\ ";
192192
193193const Two = props => (
194- <svg width = { 48 } height = { 11 } viewBox =\\"0 0 48 11\\" { ... props } >
194+ <svg width = { 48 } height = { 11 } { ... props } >
195195 <title >Group 6</title >
196196 <g stroke =\\"#063855\\" fill =\\"none\\" fillRule =\\"evenodd\\">
197197 <path d =\\"M0 7l5.317-2.658a6 6 0 0 1 5.366 0l2.634 1.316a6 6 0 0 0 5.366 0l2.634-1.316a6 6 0 0 1 5.366 0l2.634 1.316a6 6 0 0 0 5.366 0l2.634-1.316a6 6 0 0 1 5.366 0L48 7\\" />
@@ -208,7 +208,7 @@ exports[`cli should work with stdin 1`] = `
208208"import React from \\ "react\\ ";
209209
210210const SvgComponent = props => (
211- <svg width = { 48 } height = { 1 } viewBox =\\"0 0 48 1\\" { ... props } >
211+ <svg width = { 48 } height = { 1 } { ... props } >
212212 <title >Rectangle 5</title >
213213 <path d =\\"M0 0h48v1H0z\\" fill =\\"#063855\\" fillRule =\\"evenodd\\" />
214214 </svg >
0 commit comments