Skip to content

Commit

Permalink
FernLinkDropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed May 24, 2024
1 parent af5cc80 commit 5a3b0a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/app/src/components/FernLinkDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ import { PropsWithChildren, ReactElement } from "react";
import { FernLink } from "./FernLink";

export function FernLinkDropdown(props: PropsWithChildren<FernDropdown.Props>): ReactElement {
// dropdownMenuElement is cloned in FernDropdown and href is passed to the cloned element
// TODO: make this more composeable
return <FernDropdown {...props} dropdownMenuElement={<FernLink href={""} />} />;
}

0 comments on commit 5a3b0a7

Please sign in to comment.