% Auto-generated: do not edit by hand
\name{modalContextProvider}

\alias{modalContextProvider}

\title{ModalContextProvider component}

\description{
Use ModalContextProvider to coordinate modal trigger and modal content
}

\usage{
modalContextProvider(children=NULL, id=NULL, active=NULL, forceAction=NULL,
isDrawer=NULL)
}

\arguments{
\item{children}{A list of or a singular dash component, string or number. Children will be rendered within the ModalContext.
Should contain at least a ModalTrigger component and a Modal component.}

\item{id}{Character. The ID used to identify this component in Dash callbacks}

\item{active}{Logical. The current or default state of the modal. If true, the "is-active" class is added to <Modal/>.
This value can be watched and changed from outside the component (e.g. via dash callback).}

\item{forceAction}{Logical. Prevent modal from being closed without completion of a specific action.
If set, there must be a button within the modal that updates the "active"
state using the ModalContext or a dash callback on the active prop.}

\item{isDrawer}{Logical. }
}

\value{named list of JSON elements corresponding to React.js properties and their values}

