Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Variables

Variables

Const BlockerRouter

BlockerRouter: FC<{}> = observer(() => {const { path } = useRouteMatch();const hintText = useConfigHintText("blocker");return (<><BlockerNoticeNotActive style={{ margin: "10px 0 0 0" }} /><RouteSwitch><><ConfigHintModal identifier="blocker" /><Route path={path} exact><ConfigContent><BlockerList /><pclassName="description"style={{ maxWidth: 800, margin: "30px auto 0", textAlign: "center" }}>{hintText}</p></ConfigContent></Route><Route path={`${path}/new`}><BlockerPresetSelector /></Route><Route path={`${path}/edit/:blocker`}><ConfigContent maxWidth="fixed"><BlockerEditForm /></ConfigContent></Route></></RouteSwitch></>);})

Generated using TypeDoc