Commit de6e9486 authored by Chunchi Che's avatar Chunchi Che

update smal

parent aba65cb5
...@@ -68,7 +68,7 @@ const NeosSider = () => ( ...@@ -68,7 +68,7 @@ const NeosSider = () => (
<Row> <Row>
<DuelTimeLine /> <DuelTimeLine />
</Row> </Row>
<Row align="bottom"> <Row>
<SendBox /> <SendBox />
</Row> </Row>
</div> </div>
......
import React, { useState } from "react"; import React, { useState } from "react";
import { Input, Button, Row } from "antd"; import { Input, Button, Row, Col } from "antd";
import { SendOutlined } from "@ant-design/icons"; import { SendOutlined } from "@ant-design/icons";
const SendBox = () => { const SendBox = () => {
...@@ -9,7 +9,7 @@ const SendBox = () => { ...@@ -9,7 +9,7 @@ const SendBox = () => {
<Row> <Row>
<Input.TextArea <Input.TextArea
placeholder="Message to sent..." placeholder="Message to sent..."
autoSize autoSize={{ minRows: 3, maxRows: 4 }}
value={content} value={content}
onChange={(e) => { onChange={(e) => {
setContent(e.target.value); setContent(e.target.value);
...@@ -17,11 +17,13 @@ const SendBox = () => { ...@@ -17,11 +17,13 @@ const SendBox = () => {
/> />
</Row> </Row>
<Row> <Row>
<Col>
<Button <Button
icon={<SendOutlined />} icon={<SendOutlined />}
onClick={() => {}} onClick={() => {}}
disabled={!content} disabled={!content}
/> />
</Col>
</Row> </Row>
</> </>
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment