InfoListItem should disable typography wrappers #644
Labels
brightlayer-ui
Used to identify Brightlayer UI platform issues for easy filtering
bug
Something not working as expected
Milestone
Describe the bug
InfoListItem throws invalid DOM nesting errors because we are using custom components inside the ListItemText
What is the expected behavior?
There should be no DOM Validation warnings
What are the steps to reproduce?
Screenshots / Screen recording
Code snippet / Link to minimum reproduction example
Your environment information
N/A
Suggested fix
https://github.com/brightlayer-ui/react-component-library/blob/dev/components/src/core/InfoListItem/InfoListItem.tsx#L254
Add the
disableTypography
prop to the ListItemTextAnything else to add?
The text was updated successfully, but these errors were encountered: