kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
ListItem: allow child to set className
rodzic
c067dd7547
commit
90cbf0a60f
|
@ -34,7 +34,7 @@ const ListItem: React.FC<IListItem> = ({ label, hint, children, onClick }) => {
|
|||
id: domId,
|
||||
className: classNames({
|
||||
'w-auto': isSelect,
|
||||
}),
|
||||
}, child.props.className),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue