DromoUploader
component is the primary way to integrate Dromo into your React application. It accepts the following props:
Your Dromo front-end license key, which can be found in the Dromo dashboard.
An array of Field objects which comprise your import schema.
Settings object to change the behavior of the Dromo importer.
User metadata object to associate with the import.
The ID of a pre-existing schema created in Schema Studio. If provided, the
fields
, settings
(except importIdentifier
and developmentMode
), and hooks
props will be ignored in favor of the saved schema’s configuration. See Usage with saved schemas.An array of bulk row hook functions.
An array of column hook objects. Each object has two entries:
The column hook function.
A beforeFinish callback function called immediately before completing the import to check results.
An onResults callback function called with the results after the user finishes the import.
Called if the user leaves the Dromo Uploader before completing the import.
(Available in version >= 2.0.9)
If provided, determines whether the Dromo importer modal should open. See Controlling the Modal Programmatically.
Overrides the
developmentMode
setting if a schemaId
is also provided. Defaults to false
.Overrides the
importIdentifier
setting if a schemaId
is also provided.