@agilie/ra-tinymce-input
Version:
Rich Text Input component for React Admin, useful for editing HTML content in admin GUI
26 lines • 884 B
TypeScript
import { ComponentProps } from 'react';
import { InputHelperText } from 'ra-ui-materialui';
import { PropTypes as MuiPropTypes } from '@material-ui/core';
import * as PropTypes from 'prop-types';
export interface RichTextInputProps {
label?: string | false;
source: string;
toolbar?: string;
fullWidth?: boolean;
helperText?: ComponentProps<typeof InputHelperText>['helperText'];
record?: Record<any, any>;
resource?: string;
variant?: string;
margin?: MuiPropTypes.Margin;
[key: string]: any;
}
export declare const RichTextInput: {
(props: RichTextInputProps): JSX.Element;
propTypes: {
label: PropTypes.Requireable<string | boolean>;
options: PropTypes.Requireable<object>;
source: PropTypes.Requireable<string>;
fullWidth: PropTypes.Requireable<boolean>;
};
};
//# sourceMappingURL=index.d.ts.map