@@ -98,26 +98,26 @@ Usage: svgr [options] <file|directory>
9898
9999Options:
100100
101- -V, --version output the version number
102- --config-file <file> specify the path of the svgr config
103- --no-runtime-config disable runtime config (.svgrrc, .svgo.yml, .prettierrc)
104- -d, --out-dir <dirname> output files into a directory
105- --ext <ext> specify a custom file extension (default: "js")
106- --filename-case <case> specify filename case (pascal, kebab, camel) (default: "pascal")
107- --icon use "1em" as width and height
108- --native add react-native support with react-native-svg
109- --ref forward ref to SVG root element
110- --no-dimensions remove width and height from root SVG tag
111- --no- expand-props disable props expanding
112- --svg-props <property=value> add props to the svg element
113- --replace-attr-values <old=new> replace an attribute value
114- --template <file> specify a custom template to use
115- --title-prop create a title element linked with props
116- --prettier-config <fileOrJson> Prettier config
117- --no-prettier disable Prettier
118- --svgo-config <fileOrJson> SVGO config
119- --no-svgo disable SVGO
120- -h, --help output usage information
101+ -V, --version output the version number
102+ --config-file <file> specify the path of the svgr config
103+ --no-runtime-config disable runtime config (" .svgrrc", " .svgo.yml", " .prettierrc" )
104+ -d, --out-dir <dirname> output files into a directory
105+ --ext <ext> specify a custom file extension (default: "js")
106+ --filename-case <case> specify filename case (" pascal", " kebab", " camel" ) (default: "pascal")
107+ --icon use "1em" as width and height
108+ --native add react-native support with react-native-svg
109+ --ref forward ref to SVG root element
110+ --no-dimensions remove width and height from root SVG tag
111+ --expand-props [position] disable props expanding ("start", "end", "none") (default: "end")
112+ --svg-props <property=value> add props to the svg element
113+ --replace-attr-values <old=new> replace an attribute value
114+ --template <file> specify a custom template to use
115+ --title-prop create a title element linked with props
116+ --prettier-config <fileOrJson> Prettier config
117+ --no-prettier disable Prettier
118+ --svgo-config <fileOrJson> SVGO config
119+ --no-svgo disable SVGO
120+ -h, --help output usage information
121121
122122 Examples:
123123 svgr --replace-attr-values "#fff=currentColor" icon.svg
@@ -334,11 +334,11 @@ Remove width and height from root SVG tag.
334334
335335# ## Expand props
336336
337- All properties given to component will be forwarded on SVG tag.
337+ All properties given to component will be forwarded on SVG tag. Possible values : ` "start" ` , `"end"` or `false`.
338338
339- | Default | CLI Override | API Override |
340- | ------- | ------------------- | --------------------- |
341- | `true ` | `--no- expand-props` | `expandProps : <bool >` |
339+ | Default | CLI Override | API Override |
340+ | ------- | ---------------- | -- --------------------- |
341+ | `end ` | `--expand-props` | `expandProps : <string >` |
342342
343343# ## Prettier
344344
0 commit comments