Function ActionModal

ActionModal is a component that renders a modal dialog with customizable fields and actions.

  • Type Parameters

    • Data extends unknown = any

      The type of data for the fields in the modal.

    • Payload = any

      The type of payload that will be passed to the onSubmit callback.

    • Field = IField<Data, any>

      The type of field that will be rendered in the modal.

    Parameters

    • props: IActionModalProps<Data, Payload, Field, any>

      The props for the ActionModal component.

    Returns Element

    • The rendered modal component.