Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/react-cookie-banner/src/components/closeIcon"

Index

Variables

Functions

Variables

Let counter

counter: number = 0

Functions

Const CloseIcon

  • CloseIcon(__namedParameters: { color: string; framed: boolean; onClick: () => void; renderInContainer: HTMLElement; thickness: number; tooltipAlways: boolean; tooltipText: string; width: number }): Element
  • A portaled close icon creates a close icon rendered to a given container. This allows you to put the close icon on the top right corner of an overflow:hidden container and the tooltip gets rendered correctly.

    Parameters

    • __namedParameters: { color: string; framed: boolean; onClick: () => void; renderInContainer: HTMLElement; thickness: number; tooltipAlways: boolean; tooltipText: string; width: number }
      • color: string
      • framed: boolean
      • onClick: () => void
          • (): void
          • Returns void

      • renderInContainer: HTMLElement
      • thickness: number
      • tooltipAlways: boolean
      • tooltipText: string
      • width: number

    Returns Element

Generated using TypeDoc