Skip to content

Commit

Permalink
test: Header storybook 수정 #80
Browse files Browse the repository at this point in the history
  • Loading branch information
seoye0ng committed Jan 16, 2024
1 parent 2c146e7 commit 80b57f8
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/components/shared/header/Header.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ const meta = {
component: Header,
tags: ['autodocs'],
args: {
isLogin: false,
displayLogo: true,
isTransparent: false,
displayRightIcon: false,
},
argTypes: {
isLogin: { control: 'boolean' },
displayLogo: { control: 'boolean' },
isTransparent: { control: 'boolean' },
displayRightIcon: { control: 'boolean' },
Expand All @@ -23,18 +21,8 @@ const meta = {
export default meta;
type Story = StoryObj<typeof meta>;

export const LoggedIn:Story = {
export const MainPage:Story = {
args: {
isLogin: true,
displayLogo: true,
isTransparent: false,
displayRightIcon: false,
},
};

export const LoggedOut:Story = {
args: {
isLogin: false,
displayLogo: true,
isTransparent: false,
displayRightIcon: false,
Expand Down

0 comments on commit 80b57f8

Please sign in to comment.