jsx.transform takes only one argument
henri-hulski opened this issue · comments
Henri Hulski commented
In README.md you wrote:
# For a single file, you can use a shortcut method.
jsx.transform('path/to/input/file.jsx', 'path/to/output/file.js')
But jsx.transform takes only one argument:
def transform(jsx_path, **opts):
return JSXTransformer().transform(jsx_path, **opts)
Regards,
Henri
Kunal Mehta commented
README was updated in #28.