-
Notifications
You must be signed in to change notification settings - Fork 0
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
e7c4644
commit 27f63a4
Showing
9 changed files
with
169 additions
and
112 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
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
File renamed without changes.
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
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,28 @@ | ||
import React from 'react'; | ||
import { Container, Input, Button } from 'semantic-ui-react'; | ||
import Api from '../Api'; | ||
import NavBar from '../components/ListNavBar'; | ||
|
||
const AddPost = () => { | ||
const handleSubmit = () => { | ||
Api.pushPost('input 정보'); | ||
}; | ||
|
||
return ( | ||
<> | ||
<NavBar /> | ||
<Container fluid> | ||
<Input fluid placeholder="내용" /> | ||
<Input fluid placeholder="약속 시각" /> | ||
<Input fluid placeholder="종류" /> | ||
<Input fluid placeholder="모집최대인원" /> | ||
|
||
<Button fluid color="blue" onClick={handleSubmit}> | ||
올리기 | ||
</Button> | ||
</Container> | ||
</> | ||
); | ||
}; | ||
|
||
export default AddPost; |