Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-plugins/real-cookie-banner/src/public/ts/components/config/presetCard"

Index

References

Type aliases

Variables

Functions

References

PresetCard

Renames and exports PresetCardObserved

Type aliases

PresetCardProps

PresetCardProps<AdditionalPresetData>: Preset<AdditionalPresetData> & { onSelect: (attributes: false | PresetSelection, e?: Parameters<ComponentProps<typeof Card>["onClick"]>[0]) => void; renderActions?: (props: PresetCardProps<AdditionalPresetData>) => ComponentProps<typeof Card>["actions"] }

Type parameters

  • AdditionalPresetData

PresetSelection

PresetSelection: { attributes_name?: Preset["attributes_name"]; identifier: Preset["identifier"]; version: Preset["version"] }

Type declaration

  • Optional attributes_name?: Preset["attributes_name"]
  • identifier: Preset["identifier"]
  • version: Preset["version"]

Variables

Meta

Meta: FC<CardMetaProps>

Const PresetCardObserved

PresetCardObserved: PresetCard = observer(PresetCard as any) as typeof PresetCard

Functions

PresetCard

  • PresetCard<AdditionalPresetData>(props: PresetCardProps<AdditionalPresetData>): Element
  • Type parameters

    • AdditionalPresetData = {}

    Parameters

    Returns Element

Generated using TypeDoc