-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move exit button from header to footer
- Loading branch information
Showing
7 changed files
with
20 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
packages/jaen-shared-ui/src/components/organisms/main/FooterMain/FooterMain.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
import {Story, Meta} from '@storybook/react' | ||
|
||
import MainFooter from '.' | ||
import MainFooter, {FooterMainProps} from '.' | ||
|
||
export default { | ||
title: 'Organisms/main/MainFooter', | ||
component: MainFooter | ||
} as Meta | ||
|
||
const Template: Story = args => <MainFooter {...args} /> | ||
const Template: Story<FooterMainProps> = args => <MainFooter {...args} /> | ||
|
||
export const Primary = Template.bind({}) | ||
|
||
Primary.args = {} | ||
Primary.args = { | ||
onLogout: () => {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export {default as HeaderMain, HeaderMainProps} from './HeaderMain' | ||
export {default as HotbarMain, HotbarMainProps} from './HotbarMain' | ||
export {default as FooterMain} from './FooterMain' | ||
export {default as FooterMain, FooterMainProps} from './FooterMain' | ||
export {default as LoginMain, LoginMainProps} from './LoginMain' | ||
export {default as TabsMain, TabsMainProps} from './TabsMain' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters