Closed prateekshaweb closed 4 days ago
Please format the issue description and explain a bit more, provide reproduce steps, etc.
try to add "use client"
directive at the top of the file.
This happened to me when I converted from 'use client' to a server component. To fix this, I used
import { NavbarBrand, NavbarCollapse, NavbarLink, NavbarToggle } from 'flowbite-react';
@collierscott that's right!
I even specified it here pretty clearly:
https://flowbite-react.com/docs/getting-started/server-components#compound-components
Steps to reproduce
Current behavior
Describe what is currently happening and why it's a problem.
Expected behavior
Describe what you expected to happen.
Context
What are you trying to accomplish? Does this only happen on a specific browser, screen size, or operating system?
If possible, provide a live example URL, screenshot, video, or a repository with the minimal reproduction of the issue.