OutletModal is a component that displays a modal with a form and allows the user to submit the form data.

  • Type Parameters

    • Data extends {} = Record<string, any>

      The type of the form data

    • Payload = any

      The type of the payload to be sent when submitting the form

    Parameters

    Returns Element

    The rendered OutletModal component