Merge pull request #24678 from overleaf/mj-ide-view-help-menu

[web] Add remaining options to menu bar

GitOrigin-RevId: cf6cc6c2aaf450e362588c514e1a87e923a611b4
This commit is contained in:
Mathias Jakobsen
2025-04-10 08:05:48 +00:00
committed by Copybot
parent bdf0194fc8
commit e670024f5c
6 changed files with 131 additions and 14 deletions
@@ -9,6 +9,8 @@ type MenuBarOptionProps = {
disabled?: boolean
trailingIcon?: ReactNode
href?: string
target?: string
rel?: string
}
export const MenuBarOption = ({
@@ -17,6 +19,8 @@ export const MenuBarOption = ({
href,
disabled,
trailingIcon,
target,
rel,
}: MenuBarOptionProps) => {
const { setSelected } = useNestableDropdown()
return (
@@ -27,6 +31,8 @@ export const MenuBarOption = ({
disabled={disabled}
trailingIcon={trailingIcon}
href={href}
rel={rel}
target={target}
>
{title}
</DropdownItem>