ThresholdModal wip
This commit is contained in:
parent
6fcab5ced6
commit
01e42af47f
|
@ -9,7 +9,6 @@ import Paragraph from '~/components/layout/Paragraph'
|
||||||
import Button from '~/components/layout/Button'
|
import Button from '~/components/layout/Button'
|
||||||
import Block from '~/components/layout/Block'
|
import Block from '~/components/layout/Block'
|
||||||
import Row from '~/components/layout/Row'
|
import Row from '~/components/layout/Row'
|
||||||
import Col from '~/components/layout/Col'
|
|
||||||
import type { Owner } from '~/routes/safe/store/models/owner'
|
import type { Owner } from '~/routes/safe/store/models/owner'
|
||||||
import { styles } from './style'
|
import { styles } from './style'
|
||||||
|
|
||||||
|
@ -20,23 +19,31 @@ type Props = {
|
||||||
owners: List<Owner>,
|
owners: List<Owner>,
|
||||||
}
|
}
|
||||||
|
|
||||||
const ChangeThreshold = ({ onClose, owners, threshold, classes, }: Props) => (
|
const ChangeThreshold = ({
|
||||||
|
onClose, owners, threshold, classes,
|
||||||
|
}: Props) => (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Row align="center" grow className={classes.heading}>
|
<Row align="center" grow className={classes.heading}>
|
||||||
<Paragraph className={classes.manage} weight="bolder" noMargin>
|
<Paragraph className={classes.headingText} weight="bolder" noMargin>
|
||||||
Remove owner
|
Change required confirmations
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
<IconButton onClick={onClose} disableRipple>
|
<IconButton onClick={onClose} disableRipple>
|
||||||
<Close className={classes.close} />
|
<Close className={classes.close} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Row>
|
</Row>
|
||||||
<Col layout="column" middle="xs" className={classes.detailsContainer}>
|
|
||||||
<Hairline />
|
|
||||||
</Col>
|
|
||||||
<Hairline />
|
<Hairline />
|
||||||
|
<Block>
|
||||||
|
<Row>
|
||||||
|
Wanna change threshold?
|
||||||
|
</Row>
|
||||||
|
</Block>
|
||||||
|
<Hairline style={{ position: 'absolute', bottom: 85 }} />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
|
<Button className={classes.button} minWidth={140} onClick={onClose}>
|
||||||
|
BACK
|
||||||
|
</Button>
|
||||||
<Button color="primary" className={classes.button} minWidth={140} onClick={onClose} variant="contained">
|
<Button color="primary" className={classes.button} minWidth={140} onClick={onClose} variant="contained">
|
||||||
Done
|
CHANGE
|
||||||
</Button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { lg, md, sm } from '~/theme/variables'
|
||||||
export const styles = () => ({
|
export const styles = () => ({
|
||||||
heading: {
|
heading: {
|
||||||
padding: `${sm} ${lg}`,
|
padding: `${sm} ${lg}`,
|
||||||
justifyContent: 'flex-start',
|
justifyContent: 'space-between',
|
||||||
boxSizing: 'border-box',
|
boxSizing: 'border-box',
|
||||||
maxHeight: '75px',
|
maxHeight: '75px',
|
||||||
},
|
},
|
||||||
|
@ -15,9 +15,9 @@ export const styles = () => ({
|
||||||
marginLeft: '20px',
|
marginLeft: '20px',
|
||||||
},
|
},
|
||||||
headingText: {
|
headingText: {
|
||||||
fontSize: '24px',
|
fontSize: '20px',
|
||||||
},
|
},
|
||||||
closeIcon: {
|
close: {
|
||||||
height: '35px',
|
height: '35px',
|
||||||
width: '35px',
|
width: '35px',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue