This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Description
The documented example of:
jsx.transform('path/to/input/file.jsx', 'path/to/output/file.js')
Does not work. I think the transform functions should be changed as below.
I think transform functions should be:
def transform(jsx_path, *args, **opts):
return JSXTransformer().transform(jsx_path, *args, **opts)
def transform_string(jsx, *args, **opts):
return JSXTransformer().transform_string(jsx, *args, **opts)