We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d46203f commit 468048fCopy full SHA for 468048f
packages/ra-input-rich-text/src/RichTextInput.tsx
@@ -1,5 +1,5 @@
1
import * as React from 'react';
2
-import { ReactElement, ReactNode, useEffect } from 'react';
+import { ReactNode, useEffect } from 'react';
3
import { FormHelperText } from '@mui/material';
4
import { styled } from '@mui/material/styles';
5
import { Color } from '@tiptap/extension-color';
@@ -289,7 +289,7 @@ export type RichTextInputContentProps = {
289
className?: string;
290
editor?: Editor;
291
error?: any;
292
- helperText?: string | ReactElement | false;
+ helperText?: ReactNode;
293
id: string;
294
isTouched: boolean;
295
isSubmitted: boolean;
0 commit comments