mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 12:07:09 +00:00
WA-238 Address ListItem component for Safe
This commit is contained in:
parent
0d7f52ace8
commit
35788d9baf
20
src/routes/safe/component/Safe/Address.jsx
Normal file
20
src/routes/safe/component/Safe/Address.jsx
Normal 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
|
Loading…
x
Reference in New Issue
Block a user