WA-238 Confirmations ListItem component for Safe

This commit is contained in:
apanizo 2018-04-26 15:31:25 +02:00
parent ee23a77e08
commit 0d7f52ace8
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 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