feat: rewrite d2c to not require token (#8269)

This commit is contained in:
David Luzar
2024-08-20 18:06:22 +02:00
committed by GitHub
parent fb4bb29aa5
commit b5d7f5b4ba
19 changed files with 282 additions and 564 deletions
@@ -13,6 +13,7 @@ const DropdownMenuItemLink = ({
onSelect,
className = "",
selected,
rel = "noreferrer",
...rest
}: {
href: string;
@@ -22,6 +23,7 @@ const DropdownMenuItemLink = ({
className?: string;
selected?: boolean;
onSelect?: (event: Event) => void;
rel?: string;
} & React.AnchorHTMLAttributes<HTMLAnchorElement>) => {
const handleClick = useHandleDropdownMenuItemClick(rest.onClick, onSelect);