Make List and ListItem reusable

This commit is contained in:
J Francisco Rader committed 2020-08-22 23:03:54 -03:00
1 parent d36ef4ce38
commit eb570f21b3
5 files changed
+45 -36

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import React from "react";
import MaterialListItem from "@material-ui/core/ListItem";
export const ListItem = ({ ...props }) => {
return (
<MaterialListItem {...props} aria-label="list item">
{props.children}
</MaterialListItem>
);
};