Import
import { ModalLauncher } from '@contentful/f36-components';// orimport { ModalLauncher } from '@contentful/f36-modal';
Examples
ModalLauncher is convenient because you can return results from modal interations as a Javascript promise.
ModalLauncher is a utility that allows calling Modal and ModalConfirm in an imperative code, in functions.
import { ModalLauncher } from '@contentful/f36-components';// orimport { ModalLauncher } from '@contentful/f36-modal';
ModalLauncher is convenient because you can return results from modal interations as a Javascript promise.