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:
committed by
Copybot
parent
bdf0194fc8
commit
e670024f5c
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user