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 => (
|
const FrameDecorator = story => (
|
||||||
<div className={styles.frame}>
|
<div className={styles.frame} style={{ textAlign: 'center' }}>
|
||||||
{ story() }
|
{ story() }
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,15 @@ const FrameDecorator = story => (
|
||||||
storiesOf('Components', module)
|
storiesOf('Components', module)
|
||||||
.addDecorator(FrameDecorator)
|
.addDecorator(FrameDecorator)
|
||||||
.add('MultisigForm', () => (
|
.add('MultisigForm', () => (
|
||||||
<Stepper.Page>
|
<Stepper
|
||||||
{ MultisigForm }
|
finishedTransaction={false}
|
||||||
</Stepper.Page>
|
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 => (
|
const FrameDecorator = story => (
|
||||||
<div className={styles.frame}>
|
<div className={styles.frame} style={{ textAlign: 'center' }}>
|
||||||
{ story() }
|
{ story() }
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
||||||
storiesOf('Components', module)
|
storiesOf('Components', module)
|
||||||
.addDecorator(FrameDecorator)
|
.addDecorator(FrameDecorator)
|
||||||
.add('WitdrawnForm', () => (
|
.add('WithdrawnForm', () => (
|
||||||
<Stepper.Page>
|
<Stepper
|
||||||
{ WithdrawnForm }
|
finishedTransaction={false}
|
||||||
</Stepper.Page>
|
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