React component
The Classic Fluent UI 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-fluentui";
function MyApp() {
return (
<div>
<h1>Welcome to my app</h1>
<ClassicRunner definition={/* Supply your form definition here */} />,
</div>
);
}