import MaterialJsonSchemaForm from'react-jsonschema-form-material-ui';<MaterialJsonSchemaFormschema={schema}uiSchema={uiSchema}formData={formData}onUpload={(file) =>console.log("get uploaded file object")} // New addition/>
schema.json
{"title":"Example for rendering upload component","description":"A simple form with upload component","type":"object","properties":{"upload":{"type":"upload","title":"Please upload your file" }, }}