WA-238 Confirmations ListItem component for Safe
This commit is contained in:
parent
ee23a77e08
commit
0d7f52ace8
|
@ -0,0 +1,20 @@
|
||||||
|
// @flow
|
||||||
|
import * as React from 'react'
|
||||||
|
import { ListItem, ListItemText } from 'material-ui/List'
|
||||||
|
import Avatar from 'material-ui/Avatar'
|
||||||
|
import DoneAll from 'material-ui-icons/DoneAll'
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
confirmations: number,
|
||||||
|
}
|
||||||
|
|
||||||
|
const Confirmations = ({ confirmations }: Props) => (
|
||||||
|
<ListItem>
|
||||||
|
<Avatar>
|
||||||
|
<DoneAll />
|
||||||
|
</Avatar>
|
||||||
|
<ListItemText primary="Confirmations" secondary={`${confirmations} required confirmations per transaction`} />
|
||||||
|
</ListItem>
|
||||||
|
)
|
||||||
|
|
||||||
|
export default Confirmations
|
Loading…
Reference in New Issue