-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c33b333
commit ed375a5
Showing
5 changed files
with
47 additions
and
23 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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React, { FunctionComponent } from 'react'; | ||
import { Modal } from 'antd'; | ||
import LoginForm from 'components/LoginForm'; | ||
|
||
interface ILoginModalProps { | ||
visible: boolean, | ||
hideModal: Function | ||
} | ||
|
||
const LoginModal: FunctionComponent<ILoginModalProps> = ({ visible, hideModal }) => { | ||
return <Modal | ||
title="로그인" | ||
visible={visible} | ||
footer={null} | ||
// onOk={handleOk} | ||
onCancel={hideModal as any} | ||
> | ||
<LoginForm handleOk={hideModal} /> | ||
</Modal>; | ||
}; | ||
|
||
export default LoginModal; |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import LoginModal from './LoginModal' | ||
export default LoginModal |
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