Skip to content

Commit

Permalink
Fix storybook/prefer-pascal-case lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
meisekimiu committed Mar 5, 2024
1 parent 6df1b1f commit 8c6708c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions src/app/component-library/components/button/button.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,44 +66,44 @@ const meta: Meta<ButtonComponent> = {
export default meta;
type ButtonStory = StoryObj<ButtonComponent>;

export const primaryMedium: ButtonStory = {
export const PrimaryMedium: ButtonStory = {
args: { variant: 'primary', text: 'Primary' },
};

export const secondaryMedium: ButtonStory = {
export const SecondaryMedium: ButtonStory = {
args: { variant: 'secondary', text: 'Secondary' },
};

export const primaryLarge: ButtonStory = {
export const PrimaryLarge: ButtonStory = {
args: { variant: 'primary', text: 'Primary', height: 'large' },
};

export const secondaryLarge: ButtonStory = {
export const SecondaryLarge: ButtonStory = {
args: { variant: 'secondary', text: 'Secondary', height: 'large' },
};

export const primaryFill: ButtonStory = {
export const PrimaryFill: ButtonStory = {
args: { variant: 'primary', text: 'Primary', size: 'fill' },
};

export const secondaryFill: ButtonStory = {
export const SecondaryFill: ButtonStory = {
args: { variant: 'secondary', text: 'Secondary', size: 'fill' },
};

export const darkModePrimary: ButtonStory = {
export const DarkModePrimary: ButtonStory = {
args: { variant: 'primary', text: 'Primary', mode: 'dark' },
parameters: {
backgrounds,
},
};

export const darkModeSecondary: ButtonStory = {
export const DarkModeSecondary: ButtonStory = {
args: { variant: 'secondary', text: 'Secondary', mode: 'dark' },
parameters: {
backgrounds,
},
};

export const tertiaryButton: ButtonStory = {
export const TertiaryButton: ButtonStory = {
args: { variant: 'tertiary', text: 'Tertiary' },
};
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ const meta: Meta<FormInputComponent> = {
export default meta;
type FormInputStory = StoryObj<FormInputComponent>;

export const light: FormInputStory = {
export const Light: FormInputStory = {
args: { type: 'text', placeholder: 'Text', variant: 'light' },
};

export const lightDarkBackground: FormInputStory = {
export const LightDarkBackground: FormInputStory = {
args: { type: 'text', placeholder: 'Text', variant: 'light' },
parameters: { backgrounds },
};

export const dark = {
export const Dark = {
args: { type: 'text', placeholder: 'Text', variant: 'dark' },
};

0 comments on commit 8c6708c

Please sign in to comment.