WA-238 Address ListItem component for Safe
This commit is contained in:
parent
0d7f52ace8
commit
35788d9baf
|
@ -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
|
Loading…
Reference in New Issue