|
|
@ -107,9 +107,9 @@ export default { |
|
|
|
|
|
|
|
|
type Story = StoryObj<GfAccountsTableComponent>; |
|
|
type Story = StoryObj<GfAccountsTableComponent>; |
|
|
|
|
|
|
|
|
export const Default: Story = { |
|
|
export const Loading: Story = { |
|
|
args: { |
|
|
args: { |
|
|
accounts, |
|
|
accounts: undefined, |
|
|
baseCurrency: 'USD', |
|
|
baseCurrency: 'USD', |
|
|
deviceType: 'desktop', |
|
|
deviceType: 'desktop', |
|
|
locale: 'en-US', |
|
|
locale: 'en-US', |
|
|
@ -120,15 +120,15 @@ export const Default: Story = { |
|
|
showTransactions: true, |
|
|
showTransactions: true, |
|
|
showValue: true, |
|
|
showValue: true, |
|
|
showValueInBaseCurrency: true, |
|
|
showValueInBaseCurrency: true, |
|
|
totalBalanceInBaseCurrency: 12428.2, |
|
|
totalBalanceInBaseCurrency: 0, |
|
|
totalValueInBaseCurrency: 107971.70321466809, |
|
|
totalValueInBaseCurrency: 0, |
|
|
transactionCount: 12 |
|
|
transactionCount: 0 |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
export const Loading: Story = { |
|
|
export const Default: Story = { |
|
|
args: { |
|
|
args: { |
|
|
accounts: undefined, |
|
|
accounts, |
|
|
baseCurrency: 'USD', |
|
|
baseCurrency: 'USD', |
|
|
deviceType: 'desktop', |
|
|
deviceType: 'desktop', |
|
|
locale: 'en-US', |
|
|
locale: 'en-US', |
|
|
|