bb-plane-fork/web/ce/components/global/product-updates.tsx
Prateek Shourya a11c12cd7b
[ENG-37] chore: sidebar help section revamp. (#5495)
* [ENG-37] chore: sidebar help section revamp.

* fix: lint error.
2024-09-02 21:29:09 +05:30

21 lines
604 B
TypeScript

import { FC } from "react";
import { observer } from "mobx-react";
import Link from "next/link";
// ui
import { CustomMenu } from "@plane/ui";
export type ProductUpdatesProps = {
setIsChangeLogOpen: (isOpen: boolean) => void;
};
export const ProductUpdates: FC<ProductUpdatesProps> = observer(() => (
<CustomMenu.MenuItem>
<Link
href="https://go.plane.so/p-changelog"
target="_blank"
className="flex w-full items-center justify-start text-xs hover:bg-custom-background-80"
>
<span className="text-xs">What&apos;s new?</span>
</Link>
</CustomMenu.MenuItem>
));