ModalLauncher

ModalLauncher is a utility that allows calling Modal and ModalConfirm in an imperative code, in functions.

How to use ModalLauncher

Import

import { ModalLauncher } from '@contentful/f36-components';
// or
import { ModalLauncher } from '@contentful/f36-modal';

Code examples

Help improve this page