MediaSFU React Native (Expo)
    Preparing search index...

    Type Alias ShowAlert

    ShowAlert: (
        options: {
            message: string;
            type: "success" | "danger" | "warning" | "info";
            duration?: number;
            position?: AlertPosition;
        },
    ) => void

    Type Declaration

      • (
            options: {
                message: string;
                type: "success" | "danger" | "warning" | "info";
                duration?: number;
                position?: AlertPosition;
            },
        ): void
      • Parameters

        • options: {
              message: string;
              type: "success" | "danger" | "warning" | "info";
              duration?: number;
              position?: AlertPosition;
          }
          • message: string
          • type: "success" | "danger" | "warning" | "info"

            Alert semantics

          • Optionalduration?: number
          • Optionalposition?: AlertPosition

            Position of the alert. Use 'center' for action-triggered alerts that need attention. Default: 'top'

        Returns void