BUG: Navbar 5 - React code example. https://www.relume.io/react-components/navbar-5
Copy-paste the React code example in your IDE and, on desktop, try to click a link in the submenu. It closes once you leave the main link.
Quick fix needed asap! Need to use this React component and no time for debugging.
Relume-ui + NextJs App router / Server component question.
Im looking into Relume-ui to use it in a Next.Js project, while using the app-router setup.
Questions:
Are relume-ui components set up to be "use client" components by default? Or am i going to have to wrap the relume-ui components by hand? like:
"use client"; import { Button as RButton, ButtonProps } from '@relume_io/relume-ui'; const Button = (props: ButtonProps) => { const handelClick = () => console.log('do some action') return <RButton onClick={handelClick}>Click me</RButton> } export default Button;