4 releases
0.5.27 | Mar 6, 2023 |
---|---|
0.5.26 | Aug 20, 2022 |
0.5.25 | Aug 6, 2022 |
0.5.24 | Aug 6, 2022 |
#29 in #convert-html
28KB
580 lines
htr_cli
The CLI usage of the HTML to React transform
Usage
Transform props to React.
htr transform --html '<div class="something" for="mystuff" tabindex="2" style="color: white; background-color: black">'
Transform to React component.
htr transform --html '<div class="something" for="mystuff" tabindex="2" style="color: white; background-color: black">' --component-name 'Main'
Dependencies
~3MB
~64K SLoC