mirror of https://github.com/ghostfolio/ghostfolio
11 changed files with 38 additions and 8 deletions
@ -0,0 +1 @@ |
|||
export * from './logo.module'; |
@ -0,0 +1,30 @@ |
|||
import { Meta, Story, moduleMetadata } from '@storybook/angular'; |
|||
|
|||
import { LogoComponent } from './logo.component'; |
|||
|
|||
export default { |
|||
title: 'Logo', |
|||
component: LogoComponent, |
|||
decorators: [ |
|||
moduleMetadata({ |
|||
imports: [] |
|||
}) |
|||
] |
|||
} as Meta<LogoComponent>; |
|||
|
|||
const Template: Story<LogoComponent> = (args: LogoComponent) => ({ |
|||
props: args |
|||
}); |
|||
|
|||
export const Default = Template.bind({}); |
|||
Default.args = {}; |
|||
|
|||
export const Large = Template.bind({}); |
|||
Large.args = { |
|||
size: 'large' |
|||
}; |
|||
|
|||
export const NoName = Template.bind({}); |
|||
NoName.args = { |
|||
hideName: true |
|||
}; |
Loading…
Reference in new issue