Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/react-cookie-banner/src/hooks/common/useCommonTeachings"

Index

Variables

Const supWithLineHeightFix

supWithLineHeightFix: "<sup style="vertical-align:top;line-height:100%;position:initial;">" = "<sup style="vertical-align:top;line-height:100%;position:initial;">"

Functions

joinWithAndSeparator

  • joinWithAndSeparator(arr: string[], andSeparator: string): string
  • Parameters

    • arr: string[]
    • andSeparator: string

    Returns string

useCommonTeachings

  • useCommonTeachings(__namedParameters?: { disableAgeNotice: boolean; disableDataProcessingInUnsafeCountries: boolean; disableListServicesNotice: boolean }): { description: string; teachings: string[] }
  • Parameters

    • Default value __namedParameters: { disableAgeNotice: boolean; disableDataProcessingInUnsafeCountries: boolean; disableListServicesNotice: boolean } = {}
      • disableAgeNotice: boolean
      • disableDataProcessingInUnsafeCountries: boolean
      • disableListServicesNotice: boolean

    Returns { description: string; teachings: string[] }

    • description: string
    • teachings: string[]

Generated using TypeDoc