• Default function to render a generic modal based on the inputs

    Parameters

    • id: string

      Id used for the reactnode later

    • header: string

      Header title to be set

    • modalBody: ReactNode

      Body to be set as react node.

    Returns ReactNode