-
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
Khumoyun Akhmedov
committed
Sep 25, 2020
1 parent
8c347f3
commit ea92cad
Showing
18 changed files
with
177 additions
and
119 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"eslint.options": { | ||
"configFile": ".eslintrc" | ||
}, | ||
"eslint.probe": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact", | ||
"html", | ||
"markdown" | ||
], | ||
"vetur.validation.template": false | ||
} |
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,34 @@ | ||
import React from 'react' | ||
import { Flex, Box, Input, Avatar } from '@chakra-ui/core' | ||
// import PropTypes from 'prop-types' | ||
import Link from '../icons/link.svg' | ||
import Media from '../icons/media.svg' | ||
|
||
export const CreatePost = (props: any) => { | ||
|
||
const handleClick = (e: React.SyntheticEvent, type: string) => { | ||
console.log('handleClick' , type) | ||
} | ||
|
||
return ( | ||
<Flex alignItems="center" justifyContent="space-between" p={3} bg="#fff" w="100%" my={5} flexDirection="row"> | ||
<Avatar mr={3} size="sm" name="Ryan Florence" src="https://bit.ly/ryan-florence"></Avatar> | ||
<Input size='sm'></Input> | ||
<Flex ml={2} w={60} justifyContent="space-around"> | ||
<Media | ||
onClick={(e) => handleClick(e, 'up')} | ||
style={{ fill: '#ccc' }} | ||
width={20} | ||
height={20} | ||
></Media> | ||
<Link | ||
onClick={(e) => handleClick(e, 'up')} | ||
style={{ fill: '#ccc' }} | ||
width={20} | ||
height={20} | ||
></Link> | ||
</Flex> | ||
</Flex> | ||
) | ||
} | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
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
Empty file.
Empty file.
Empty file.
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
Oops, something went wrong.