petalbid-frontend
    Preparing search index...
    • Provider component that makes the alert functionality available to its children. It manages the state of the AlertDialog and renders it when showAlert is called.

      Parameters

      • props: { children: ReactNode }

        The component props.

        • children: ReactNode

          The child components that will have access to the alert context.

      Returns Element

      The provider component wrapping its children and the AlertDialog.