17 lines
513 B
TypeScript
17 lines
513 B
TypeScript
import AppContainer from "components/apps/AppContainer";
|
|
import StyledTinyMceEditor from "components/apps/TinyMCE/StyledTinyMceEditor";
|
|
import useTinyMCE from "components/apps/TinyMCE/useTinyMCE";
|
|
import type { ComponentProcessProps } from "components/system/Apps/RenderComponent";
|
|
|
|
const TinyMCE: FC<ComponentProcessProps> = ({ id }) => (
|
|
<AppContainer
|
|
StyledComponent={StyledTinyMceEditor}
|
|
id={id}
|
|
useHook={useTinyMCE}
|
|
>
|
|
<div />
|
|
</AppContainer>
|
|
);
|
|
|
|
export default TinyMCE;
|