ListItem: allow child to set className

This commit is contained in:
Alex Gleason 2022-09-11 17:32:34 -05:00
parent c067dd7547
commit 90cbf0a60f
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -34,7 +34,7 @@ const ListItem: React.FC<IListItem> = ({ label, hint, children, onClick }) => {
id: domId,
className: classNames({
'w-auto': isSelect,
}),
}, child.props.className),
});
}