Commit de6e9486 authored by Chunchi Che's avatar Chunchi Che

update smal

parent aba65cb5
......@@ -68,7 +68,7 @@ const NeosSider = () => (
<Row>
<DuelTimeLine />
</Row>
<Row align="bottom">
<Row>
<SendBox />
</Row>
</div>
......
import React, { useState } from "react";
import { Input, Button, Row } from "antd";
import { Input, Button, Row, Col } from "antd";
import { SendOutlined } from "@ant-design/icons";
const SendBox = () => {
......@@ -9,7 +9,7 @@ const SendBox = () => {
<Row>
<Input.TextArea
placeholder="Message to sent..."
autoSize
autoSize={{ minRows: 3, maxRows: 4 }}
value={content}
onChange={(e) => {
setContent(e.target.value);
......@@ -17,11 +17,13 @@ const SendBox = () => {
/>
</Row>
<Row>
<Button
icon={<SendOutlined />}
onClick={() => {}}
disabled={!content}
/>
<Col>
<Button
icon={<SendOutlined />}
onClick={() => {}}
disabled={!content}
/>
</Col>
</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