Included Connection problems story

This commit is contained in:
apanizo 2018-09-06 10:57:09 +02:00
parent 4029f23c90
commit 41b951c3fd
1 changed files with 14 additions and 0 deletions

View File

@ -31,3 +31,17 @@ storiesOf('Components /Header', module)
return <Layout providerInfo={info} providerDetails={details} />
})
.add('Connection Error', () => {
const provider = 'Metamask'
const userAddress = '0x873faa4cddd5b157e8e5a57e7a5479afc5d30moe'
const network = 'RINKEBY'
const info = <ProviderInfo provider={provider} network={network} userAddress={userAddress} connected={false} />
const details = (<ProviderDetails
provider={provider}
network={network}
userAddress={userAddress}
connected={false}
/>)
return <Layout providerInfo={info} providerDetails={details} />
})