💾 Archived View for freeshell.de › tldr › svgr.gmi captured on 2023-04-20 at 00:31:18. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Transform SVGs into React components.
svgr -- {path/to/file.svg}
svgr --typescript -- {path/to/file.svg}
svgr --jsx-runtime automatic -- {path/to/file.svg}
svgr --out-dir {path/to/output_directory} {path/to/input_directory}
svgr --out-dir {path/to/output_directory} --ignore-existing {path/to/input_directory}
svgr --out-dir {path/to/output_directory} --filename-case {camel|kebab|pascal} {path/to/input_directory}
svgr --out-dir {path/to/output_directory} --no-index {path/to/input_directory}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).