import React from 'react'; import { action } from '@storybook/addon-actions'; import { LedgerTransportTypes } from '../../../../shared/constants/hardware-wallets'; import SelectHardware from './select-hardware'; export default { title: 'Pages/CreateAccount/ConnectHardware/SelectHardware', id: __filename, }; export const DefaultStory = () => { return ( action(`Continue connect to ${selectedDevice}`)() } ledgerTransportType={LedgerTransportTypes.live} /> ); }; DefaultStory.storyName = 'Default'; export const BrowserNotSupported = () => { return ( undefined} ledgerTransportType={LedgerTransportTypes.live} /> ); };