react-on-rails
Version:
react-on-rails JavaScript for react_on_rails Ruby gem
14 lines • 569 B
TypeScript
import type { CreateParams, CreateReactOutputResult } from './types/index.ts';
/**
* Logic to either call the renderFunction or call React.createElement to get the
* React.Component
* @param options
* @param options.componentObj
* @param options.props
* @param options.domNodeId
* @param options.trace
* @param options.location
* @returns {ReactElement}
*/
export default function createReactOutput({ componentObj, props, railsContext, domNodeId, trace, shouldHydrate, }: CreateParams): CreateReactOutputResult;
//# sourceMappingURL=createReactOutput.d.ts.map