Modal

It is super easy to create your own Dashboard modals for your plugin. Just extend the Modal class exposed on the Dashboard object.

What does Modal look like?

import { Plugin }from '@root'

class MyModal extends Plugin.Modal {
    render() {
        return (
            <div>
                <p>{'Look at my Modal, my Modal is amazing'}</p>
            </div>
        )
    }
}

How can i open a Modal?

Last updated