Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

Const PlainAntdIconAsSvg

  • PlainAntdIconAsSvg(__namedParameters: { icon: IconDefinition; rest: rest }): Element
  • Inject a plain SVG icon from @ant-design/icons-svg. This reduces the bundle size. You can determine yourself to use @ant-design/icons or this helper component. For example, this component is preferred for website bundles where website size matters.

    see

    https://app.clickup.com/t/60pz5t

    Parameters

    • __namedParameters: { icon: IconDefinition; rest: rest }
      • icon: IconDefinition
      • rest: rest

    Returns Element

Generated using TypeDoc