Fix the ListDivider to be a list item.

master
Tom Hacohen 7 years ago
parent 87e670ac97
commit b76ac00d78

@ -55,7 +55,9 @@ export const ListSubheader = pure((props: any) => (
)); ));
export const ListDivider = pure((props: any) => ( export const ListDivider = pure((props: any) => (
<li>
<hr className={'ListDivider ' + (props.inset ? 'ListDivider-inset' : '')} {...props} /> <hr className={'ListDivider ' + (props.inset ? 'ListDivider-inset' : '')} {...props} />
</li>
)); ));
export const ListItem = pure((_props: any) => { export const ListItem = pure((_props: any) => {

Loading…
Cancel
Save