facebookarchive / react-python

Python bridge to JSX & the React JavaScript library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsx.transform takes only one argument

henri-hulski opened this issue · comments

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

README was updated in #28.