mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
* Add storybook story for no transactions info component * Update changelogpull/346/head^2
committed by
GitHub
13 changed files with 32 additions and 5 deletions
@ -1 +1,3 @@ |
|||||
|
import '@angular/localize/init'; |
||||
|
|
||||
import '!style-loader!css-loader!sass-loader!../../../apps/client/src/styles.scss'; |
import '!style-loader!css-loader!sass-loader!../../../apps/client/src/styles.scss'; |
||||
|
@ -0,0 +1 @@ |
|||||
|
export * from './no-transactions-info.module'; |
@ -0,0 +1,23 @@ |
|||||
|
import { GfLogoModule } from '@ghostfolio/ui/logo'; |
||||
|
import { Meta, Story, moduleMetadata } from '@storybook/angular'; |
||||
|
|
||||
|
import { NoTransactionsInfoComponent } from './no-transactions-info.component'; |
||||
|
|
||||
|
export default { |
||||
|
title: 'No Transactions Info', |
||||
|
component: NoTransactionsInfoComponent, |
||||
|
decorators: [ |
||||
|
moduleMetadata({ |
||||
|
imports: [GfLogoModule] |
||||
|
}) |
||||
|
] |
||||
|
} as Meta<NoTransactionsInfoComponent>; |
||||
|
|
||||
|
const Template: Story<NoTransactionsInfoComponent> = ( |
||||
|
args: NoTransactionsInfoComponent |
||||
|
) => ({ |
||||
|
props: args |
||||
|
}); |
||||
|
|
||||
|
export const Default = Template.bind({}); |
||||
|
Default.args = {}; |
Loading…
Reference in new issue