Type alias WebHeaderAction

WebHeaderAction: {
    icon: CarbonIcon;
    onLongPress?: (() => void);
    onPress?: (() => void);
    text: string;
}

Action item for the web header

Type declaration

  • icon: CarbonIcon

    Icon to render (size 20)

  • Optional onLongPress?: (() => void)
      • (): void
      • On long press event

        Returns void

  • Optional onPress?: (() => void)
      • (): void
      • On press event

        Returns void

  • text: string

    Text to describe icon

Generated using TypeDoc