import { storiesOf } from "@storybook/react" ; import * as React from "react" ; import { Civil } from "@joincivil/core" ; import { WalletOnboardingV2 } from "." ; let civil ; try { civil = new Civil ( ) ; } catch ( error ) { civil = undefined ; } storiesOf ( "Common / Wallet Onboarding V2/Locked" , module ) . add ( "Locked" , ( ) => { return < WalletOnboardingV2 civil = { civil } />; } ) ;