The properties for the React wrapper.

interface ReactMarvinProps {
    onReady?: (ui: Marvin) => void;
    settings: MarvinSettings;
}

Properties

Properties

onReady?: (ui: Marvin) => void

This callback is called when the wrapped Marvin Pro instance is ready, and gives a chance to get a hold of the Marvin, which contains all of the api functionalities.

settings: MarvinSettings

Configuration options for Marvin Pro.