Example 1 - default(standard)
A simple form with name, age and email.
Schema:
{}
fields]
:
[[
…
][
…
]Usage:
import React from "react";
import schema from "<schema_location>";
import MuiForms from "mui-forms";
function MySimpleForm() {
return (
<MuiForms
config={{
variant: "standard"
}}
schema={schema}
onSubmit={() => {
// do nothing
}}
/>
);
}