ListItem: allow child to set className
This commit is contained in:
parent
c067dd7547
commit
90cbf0a60f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ const ListItem: React.FC<IListItem> = ({ label, hint, children, onClick }) => {
|
|||
id: domId,
|
||||
className: classNames({
|
||||
'w-auto': isSelect,
|
||||
}),
|
||||
}, child.props.className),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue