/** * notion-enhancer * (c) 2023 dragonwocky (https://dragonwocky.me/) * (https://notion-enhancer.github.io/) under the MIT license */ function MenuButton( { icon, notifications, themeOverridesLoaded, ...props }, ...children ) { const { html, extendProps } = globalThis.__enhancerApi; extendProps(props, { tabindex: 0, role: "button", class: `notion-enhancer--menu-button flex select-none cursor-pointer rounded-[6px] text-[14px] font-medium transition hover:bg-[color:var(--theme--bg-hover)] w-full h-[30px] px-[8px] py-[4px] items-center`, }); return html`
${children}
${notifications}
`; } export { MenuButton };