• Used with outside AppBarContext to create a full screen popup. NOTE: if no outside AppBarContext provider component is loaded the Popup can not be closed!

    Parameters

    • props: {
          background?: string;
          children: ReactElement<any, string | JSXElementConstructor<any>> | ReactElement<any, string | JSXElementConstructor<any>>[];
          className?: string;
          mode?: "edit" | "chevron";
          onClose: (() => void);
          onFinish?: (() => void);
          title?: string;
      }
      • Optionalbackground?: string
      • children: ReactElement<any, string | JSXElementConstructor<any>> | ReactElement<any, string | JSXElementConstructor<any>>[]

        Popup content

      • OptionalclassName?: string

        Optional. container additional class

      • Optionalmode?: "edit" | "chevron"

        Default 'edit'. AppBar mode

      • onClose: (() => void)

        Recomended useCallback cached function

          • (): void
          • Returns void

      • OptionalonFinish?: (() => void)

        Not needed on mode 'chevron'. Recomended useCallback cached function

          • (): void
          • Returns void

      • Optionaltitle?: string

        Default ' '. AppBar title

    Returns ReactElement