Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-plugins/real-cookie-banner/src/public/ts/components/config/consent/shortcode/cards"

Index

Variables

Variables

Panel

Panel: FC<CollapsePanelProps>

Const ShortcodeCards

ShortcodeCards: FC<{}> = observer(() => {const hintText = useConfigHintText("shortcodes");return (<><Collapse defaultActiveKey={["nav"]} ghost><Panelkey="nav"header={<a style={{ textDecoration: "underline" }}>{__("Add links to existing menu")}</a>}><Card style={{ margin: 5 }}><ShortCodeMenuList /></Card></Panel><Panelkey="shortcode"header={<a style={{ textDecoration: "underline" }}>{__("Generate shortcode (advanced)")}</a>}><Row><Col xl={8} sm={12} xs={24}><Card style={{ margin: 5 }} title={_x("Change privacy settings", "legal-text")}><LinkShortcodeForm type="change" /></Card></Col><Col xl={8} sm={12} xs={24}><Card style={{ margin: 5 }} title={_x("Privacy settings history", "legal-text")}><LinkShortcodeForm type="history" /></Card></Col><Col xl={8} sm={12} xs={24}><Card style={{ margin: 5 }} title={_x("Revoke consents", "legal-text")}><LinkShortcodeForm type="revoke" /></Card></Col></Row></Panel></Collapse><spanclassName="description"style={{ display: "block", maxWidth: 800, margin: "30px auto 0", textAlign: "center" }}>{hintText}</span></>);})

Generated using TypeDoc