import { ExtendedContentPanel } from '@components' ; import { fAssets , fDWAccounts , fNetworks } from '@fixtures' ; import { noOp } from '@utils' ; import { default as HDTable , HDTableProps } from './HDWTable' ; export default { title : 'Organisms/HDWTable' } ; const addressMap = fDWAccounts . map ( ( item ) => ( { ... item , isSelected : true } ) ) ; const initialProps = { isCompleted : true , network : fNetworks [ 0 ] , accounts : addressMap , asset : fAssets [ 0 ] , displayEmptyAddresses : true , selectedDPath : fDWAccounts [ 0 ] . pathItem . baseDPath , csv : '' , onSelect : noOp , handleUpdate : noOp , onScanMoreAddresses : noOp } ; export const HDWTable = ( ) => ( < ExtendedContentPanel width = "800px" > < HDTable { ... initialProps } / > < /ExtendedContentPanel>);