Skip to content

Commit 967ec73

Browse files
committed
fix: adding wrapper component style to InputWrapper in EditorInput
1 parent 948c963 commit 967ec73

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/form/EditorInput.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface EditorInputProps extends Omit<InputWrapperProps, 'onChange'>, V
2121

2222
export const EditorInput: React.FC<EditorInputProps> = (props) => {
2323

24-
const {title, right, left, rightType, leftType, language, description, extensions = [], tokenStyles = [], formValidation, onChange, ...rest} = props
24+
const {title, right, left, rightType, leftType, language, description, extensions = [], tokenStyles = [], formValidation, onChange, wrapperComponent, ...rest} = props
2525

2626
const internalExtensions: Extension[] = [...extensions, language!]
2727

@@ -60,7 +60,9 @@ export const EditorInput: React.FC<EditorInputProps> = (props) => {
6060
left={left}
6161
rightType={rightType}
6262
leftType={leftType}
63-
formValidation={formValidation}>
63+
formValidation={formValidation}
64+
wrapperComponent={wrapperComponent}
65+
>
6466

6567
<CodeMirror extensions={internalExtensions} onChange={value => {
6668
formValidation?.setValue?.(value)

0 commit comments

Comments
 (0)