diff --git a/src/apps/phone/components/PhoneList.js b/src/apps/phone/components/PhoneList.js new file mode 100644 index 0000000..9174500 --- /dev/null +++ b/src/apps/phone/components/PhoneList.js @@ -0,0 +1,24 @@ +import React from 'react'; +import List from "@material-ui/core/List"; +import ListItem from "@material-ui/core/ListItem"; +import ListItemText from "@material-ui/core/ListItemText"; +import PhoneCallbackIcon from '@material-ui/icons/PhoneCallback'; +import PhoneForwardedIcon from '@material-ui/icons/PhoneForwarded'; + +export const PhoneList = ({ calls }) => { + const CallTypeIcon = {'incoming': , 'outgoing': } + + return ( + + {calls.map((call) => ( + + + {CallTypeIcon[call.type]} + + ))} + + ) +} \ No newline at end of file