File tree 2 files changed +9
-15
lines changed
apps/meteor/ee/client/omnichannel/components/CannedResponse/TextEditor
2 files changed +9
-15
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @rocket.chat/meteor ' : patch
3
+ ---
4
+
5
+ Fixed Canned Responses text editor having no contrast in dark mode.
Original file line number Diff line number Diff line change 1
- import { Box } from '@rocket.chat/fuselage' ;
1
+ import { TextAreaInput } from '@rocket.chat/fuselage' ;
2
2
import type { ComponentProps } from 'react' ;
3
3
import React , { forwardRef } from 'react' ;
4
4
5
- type TextareaProps = ComponentProps < typeof Box > ;
5
+ type TextareaProps = ComponentProps < typeof TextAreaInput > ;
6
6
7
- const Textarea = forwardRef < Element , TextareaProps > ( function Textarea ( props , ref ) {
8
- return (
9
- < Box
10
- is = 'textarea'
11
- ref = { ref }
12
- w = 'full'
13
- style = { { wordBreak : 'normal' } }
14
- rcx-box--animated
15
- rcx-input-box--type = { 'textarea' }
16
- rcx-input-box--undecorated
17
- { ...props }
18
- />
19
- ) ;
7
+ const Textarea = forwardRef < HTMLTextAreaElement , TextareaProps > ( function Textarea ( props , ref ) {
8
+ return < TextAreaInput ref = { ref } w = 'full' style = { { wordBreak : 'normal' } } rcx-input-box--undecorated { ...props } /> ;
20
9
} ) ;
21
10
22
11
export default Textarea ;
You can’t perform that action at this time.
0 commit comments