added CommentCreator

This commit is contained in:
srgooglo 2022-09-16 15:01:36 +02:00
parent 6b26762faa
commit 4439b6693c
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,13 @@
import React from "react"
import * as antd from "antd"
import "./index.less"
export default (props) => {
return <div className="commentCreator">
<antd.Input.TextArea
placeholder="Write a comment..."
autoSize={{ minRows: 2, maxRows: 5 }}
/>
</div>
}

View File

@ -0,0 +1,22 @@
.commentCreator {
display: flex;
flex-direction: column;
align-items: right;
width: 100%;
height: 100%;
.ant-input {
background-color: var(--background-color-accent) !important;
border: none !important;
outline: none !important;
}
.ant-btn {
width: fit-content;
margin-top: 20px;
}
}