We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0eec0f commit dafa652Copy full SHA for dafa652
README.md
@@ -28,10 +28,10 @@ from react import jsx
28
# For multiple paths, use the JSXTransformer class.
29
transformer = jsx.JSXTransformer()
30
for jsx_path, js_path in my_paths:
31
- transformer.transform(jsx_path, js_path)
+ transformer.transform(jsx_path, js_path=js_path)
32
33
# For a single file, you can use a shortcut method.
34
-jsx.transform('path/to/input/file.jsx', 'path/to/output/file.js')
+jsx.transform('path/to/input/file.jsx', js_path='path/to/output/file.js')
35
```
36
37
You can also use ``transform_string(jsx)`` method to transform strings:
0 commit comments