WA-238 Address ListItem component for Safe

This commit is contained in:
apanizo 2018-04-26 15:36:05 +02:00
parent 0d7f52ace8
commit 35788d9baf
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
// @flow
import * as React from 'react'
import { ListItem, ListItemText } from 'material-ui/List'
import Avatar from 'material-ui/Avatar'
import Mail from 'material-ui-icons/Mail'
type Props = {
address: string,
}
const Address = ({ address }: Props) => (
<ListItem>
<Avatar>
<Mail />
</Avatar>
<ListItemText primary="Safe Address" secondary={address} />
</ListItem>
)
export default Address