-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rmf-auth, TODO login stories, add new to keycloak creation
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
- Loading branch information
1 parent
bbb9675
commit 4e8cb2d
Showing
2 changed files
with
27 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
import { Meta, Story } from '@storybook/react'; | ||
import React from 'react'; | ||
import { LoginCard as LoginCard_, LoginPage as LoginPage_ } from '.'; | ||
import { LoginCardProps } from './login-card'; | ||
// TODO(ac): commented out during node 18 migration | ||
|
||
export default { | ||
title: 'Login', | ||
component: LoginCard_, | ||
argTypes: { | ||
title: { | ||
defaultValue: 'Title', | ||
}, | ||
logo: { | ||
control: { | ||
disable: true, | ||
}, | ||
}, | ||
}, | ||
} as Meta; | ||
// import { Meta, Story } from '@storybook/react'; | ||
// import React from 'react'; | ||
// import { LoginCard as LoginCard_, LoginPage as LoginPage_ } from '.'; | ||
// import { LoginCardProps } from './login-card'; | ||
|
||
export const LoginCard: Story<LoginCardProps> = (args) => ( | ||
<LoginCard_ {...args} logo="/resources/ros-health.png" /> | ||
); | ||
// export default { | ||
// title: 'Login', | ||
// component: LoginCard_, | ||
// argTypes: { | ||
// title: { | ||
// defaultValue: 'Title', | ||
// }, | ||
// logo: { | ||
// control: { | ||
// disable: true, | ||
// }, | ||
// }, | ||
// }, | ||
// } as Meta; | ||
|
||
export const LoginPage: Story<LoginCardProps> = (args) => ( | ||
<LoginPage_ {...args} logo="/resources/ros-health.png" /> | ||
); | ||
// export const LoginCard: Story<LoginCardProps> = (args) => ( | ||
// <LoginCard_ {...args} logo="/resources/ros-health.png" /> | ||
// ); | ||
|
||
// export const LoginPage: Story<LoginCardProps> = (args) => ( | ||
// <LoginPage_ {...args} logo="/resources/ros-health.png" /> | ||
// ); |
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