Feature/add storybook story for logo component (#344)
* Add storybook story for logo component * Update changelogpull/345/head
parent
5fd413e57e
commit
21ed91d184
@ -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