import * as React from "react"; import { RichEditorPosition, RichEditorProps } from "./types"; // import { AlloyEditor } from "alloyeditor"; /** * A component for providing rich, wysiwyg text composition. A wrapper of the draft.js library */ const RichEditor: React.FC = ({ children }) => { // React.useEffect(() => { // AlloyEditor.editable("RichEditor"); // }, []); return (
{children}
); }; export { RichEditorPosition }; export default RichEditor;