diff options
author | 2018-03-02 13:04:56 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:52 +0300 | |
commit | 3338a0d36015752e94bd9009b75f47d92268a35f (patch) | |
tree | 3656a35f0d7e8b198e7b435dee4d59f2d2645929 /vnext/src/components/Post.js | |
parent | dfc34ed4c93247024090f1a9e4c78edc0bc990a2 (diff) |
Post component
Diffstat (limited to 'vnext/src/components/Post.js')
-rw-r--r-- | vnext/src/components/Post.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vnext/src/components/Post.js b/vnext/src/components/Post.js new file mode 100644 index 00000000..54be77df --- /dev/null +++ b/vnext/src/components/Post.js @@ -0,0 +1,20 @@ +import React from 'react' + +export default class Post extends React.Component { + render() { + return ( + <article> +<form action="/" method="post" id="postmsg" encType="multipart/form-data"> + <p style={{ textAlign: 'left' }}> + <b>Фото:</b> <span id="attachmentfile"> + <input style={{ width: '100%' }} type="file" name="attach"/> <i>(JPG/PNG)</i></span> + </p> + <p> + <textarea name="body" className="newmessage" rows="7" cols="10" placeholder="*weather It's very cold today!"></textarea> + <br/> + <input type="submit" className="subm" value=" POST "/> + </p> +</form> +</article> + )} +};
\ No newline at end of file |