Skip to content

Commit 468048f

Browse files
committed
Fix rich-text-input
1 parent d46203f commit 468048f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ra-input-rich-text/src/RichTextInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { ReactElement, ReactNode, useEffect } from 'react';
2+
import { ReactNode, useEffect } from 'react';
33
import { FormHelperText } from '@mui/material';
44
import { styled } from '@mui/material/styles';
55
import { Color } from '@tiptap/extension-color';
@@ -289,7 +289,7 @@ export type RichTextInputContentProps = {
289289
className?: string;
290290
editor?: Editor;
291291
error?: any;
292-
helperText?: string | ReactElement | false;
292+
helperText?: ReactNode;
293293
id: string;
294294
isTouched: boolean;
295295
isSubmitted: boolean;

0 commit comments

Comments
 (0)