-
- Notifications
You must be signed in to change notification settings - Fork 476
Closed
Labels
📚 documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Milestone
Description
Describe the bug
The renderTrigger code from the documentation example isn't rendered as expected.
To Reproduce
Steps to reproduce the behavior:
- Go to https://www.flowbite-react.com/docs/components/dropdown
- Scroll to
Custom triggerexample - See error
Expected behavior
I was hoping to see the correct code:
<CodePreview title="Custom trigger dropdown"> <Dropdown dismissOnClick={false} renderTrigger={() => <span>My custom trigger</span>}> <Dropdown.Item>Dashboard</Dropdown.Item> <Dropdown.Item>Settings</Dropdown.Item> <Dropdown.Item>Earnings</Dropdown.Item> <Dropdown.Item>Sign out</Dropdown.Item> </Dropdown> </CodePreview>Screenshots
System information:
Not relevant.
Project information:
- Flowbite React: 0.4.10
Additional context
None.
Metadata
Metadata
Assignees
Labels
📚 documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
