diff options
author | 2018-06-09 15:50:47 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:52 +0300 | |
commit | 733343545f2be35f192011f2741dc8c41948cac8 (patch) | |
tree | ba1d4fef36529965b1344f2016e312ad2269816a /vnext/src/components/Post.js | |
parent | 4e744b4ac064133d36f75799139607508e1cb8d1 (diff) |
many updates
Diffstat (limited to 'vnext/src/components/Post.js')
-rw-r--r-- | vnext/src/components/Post.js | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/vnext/src/components/Post.js b/vnext/src/components/Post.js index 54be77df..3256bbf6 100644 --- a/vnext/src/components/Post.js +++ b/vnext/src/components/Post.js @@ -1,20 +1,21 @@ -import React from 'react' +import React from 'react'; export default class Post extends React.Component { - render() { + 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 + <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> + ); + } +} |