Fix the ListDivider to be a list item.
parent
87e670ac97
commit
b76ac00d78
|
@ -55,7 +55,9 @@ export const ListSubheader = pure((props: any) => (
|
|||
));
|
||||
|
||||
export const ListDivider = pure((props: any) => (
|
||||
<hr className={'ListDivider ' + (props.inset ? 'ListDivider-inset' : '')} {...props} />
|
||||
<li>
|
||||
<hr className={'ListDivider ' + (props.inset ? 'ListDivider-inset' : '')} {...props} />
|
||||
</li>
|
||||
));
|
||||
|
||||
export const ListItem = pure((_props: any) => {
|
||||
|
|
Loading…
Reference in New Issue