-
-
Notifications
You must be signed in to change notification settings - Fork 476
Closed
Description
Describe the bug
Since <div> cannot be a child of <p>, using a <div> as a child of Timeline.Body produces the following error:
Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.
There is no reason for children of Timeline.Body to be limited to valid children of <p> tags.
To Reproduce
<Timeline>
<Timeline.Item>
<Timeline.Point />
<Timeline.Content>
<Timeline.Title>Title</Timeline.Title>
<Timeline.Body><div>test</div></Timeline.Body>
</Timeline.Content>
</Timeline.Item>
</Timeline>Project information:
- Tailwind: 3.2.6
- Flowbite: 1.6.3
- Flowbite React: 0.3.8
- Type: Nextjs
Metadata
Metadata
Assignees
Labels
No labels