mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Make List and ListItem reusable
This commit is contained in:
1 parent
d36ef4ce38
commit
eb570f21b3
5 files changed
+45
-36
No files matched your search
@@ -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>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user