WA-238 Fix Withdrawn and Multisig Forms
This commit is contained in:
parent
3dcb551268
commit
fdfeceef8b
|
@ -7,7 +7,7 @@ import MultisigForm from './index'
|
|||
|
||||
|
||||
const FrameDecorator = story => (
|
||||
<div className={styles.frame}>
|
||||
<div className={styles.frame} style={{ textAlign: 'center' }}>
|
||||
{ story() }
|
||||
</div>
|
||||
)
|
||||
|
@ -15,7 +15,15 @@ const FrameDecorator = story => (
|
|||
storiesOf('Components', module)
|
||||
.addDecorator(FrameDecorator)
|
||||
.add('MultisigForm', () => (
|
||||
<Stepper.Page>
|
||||
<Stepper
|
||||
finishedTransaction={false}
|
||||
finishedButton={<Stepper.FinishButton title="SEE TXS" />}
|
||||
onSubmit={() => {}}
|
||||
steps={['Multisig TX Form', 'Review TX']}
|
||||
onReset={() => {}}
|
||||
>
|
||||
<Stepper.Page balance={10}>
|
||||
{ MultisigForm }
|
||||
</Stepper.Page>
|
||||
</Stepper>
|
||||
))
|
||||
|
|
|
@ -7,15 +7,23 @@ import WithdrawnForm from './index'
|
|||
|
||||
|
||||
const FrameDecorator = story => (
|
||||
<div className={styles.frame}>
|
||||
<div className={styles.frame} style={{ textAlign: 'center' }}>
|
||||
{ story() }
|
||||
</div>
|
||||
)
|
||||
|
||||
storiesOf('Components', module)
|
||||
.addDecorator(FrameDecorator)
|
||||
.add('WitdrawnForm', () => (
|
||||
<Stepper.Page>
|
||||
.add('WithdrawnForm', () => (
|
||||
<Stepper
|
||||
finishedTransaction={false}
|
||||
finishedButton={<Stepper.FinishButton title="RESET" />}
|
||||
onSubmit={() => {}}
|
||||
steps={['Fill Withdrawn Form', 'Review Withdrawn']}
|
||||
onReset={() => {}}
|
||||
>
|
||||
<Stepper.Page dailyLimit={10} spentToday={7}>
|
||||
{ WithdrawnForm }
|
||||
</Stepper.Page>
|
||||
</Stepper>
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue