• This component displays the menu button

    Parameters

    • props: {
          clickCallback?: (() => void);
          isHidden?: boolean;
          productTypes?: {
              [p: string]: string;
          };
          shiftClickCallback?: ((typeOfProduct?: string) => void);
      }

      Properties of this view:

      • OptionalclickCallback?: (() => void)

        Handler for when the menu button is clicked

          • (): void
          • Returns void

      • OptionalisHidden?: boolean

        The flag that specifies whether the button should be displayed

      • OptionalproductTypes?: {
            [p: string]: string;
        }

        The product types

        • [p: string]: string
      • OptionalshiftClickCallback?: ((typeOfProduct?: string) => void)

        Handler for changing the product type

          • (typeOfProduct?): void
          • Parameters

            • OptionaltypeOfProduct: string

            Returns void

    Returns React.ReactElement