WA-238 Fix Withdrawn and Multisig Forms

This commit is contained in:
apanizo 2018-05-23 16:29:30 +02:00
parent 3dcb551268
commit fdfeceef8b
2 changed files with 25 additions and 9 deletions

View File

@ -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>
{ 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>
))

View File

@ -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>
{ WithdrawnForm }
</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>
))