Skip to content

Commit 52c5d5e

Browse files
committed
TextArea
1 parent 0ca289d commit 52c5d5e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/screens/projects/components/DrawerTask/DrawerTask.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ import { Undefined } from '../../../../types/CommonTypes';
1414
import TaskTimeItemModel from '../../../../modules/tasks/models/TaskTimeItemModel';
1515
import IModalProps from '../../../../types/IModalProps';
1616

17+
const { TextArea } = Input;
18+
1719
const { projectStore } = rootStore;
1820

1921
interface DrawerTaskProps extends IModalProps {
@@ -69,9 +71,10 @@ export default observer(function DrawerTask({
6971
}
7072
}}
7173
/>
72-
<Input
73-
value={task?.details}
74+
<TextArea
7475
placeholder="Details"
76+
rows={4}
77+
value={task?.details}
7578
onChange={(e) => {
7679
const details = e.target.value;
7780
if (task) {

0 commit comments

Comments
 (0)