React component
The Classic runner React component makes it easy to implement the runner in a React application.
tip
Read the React implementation guide for more information and examples.
Signature
ClassicRunner(props: IClassicProps): JSX.Element
Parameters
Name | Type | Optional | Description |
---|---|---|---|
props | IClassicProps | No | Specifies the component properties. |
Return value
Returns the runner JSX.Element
.
Example
import { ClassicRunner } from "@tripetto/runner-classic";
function MyApp() {
return (
<div>
<h1>Welcome to my app</h1>
<ClassicRunner definition={/* Supply your form definition here */} />,
</div>
);
}