from react import jsx

# For a single file, you can use a shortcut method.
jsx.transform('website/public/js/riverComponents.jsx', js_path='website/public/js/riverComponents.js')

Add script to translate riverComponents jsx => js