import { memo, FC } from 'react' import { WithEditor, WithHighlight } from '../adhoc' type Props = { [props: string]: any shouldEdit?: boolean children?: string language?: string lineProps?: any style?: any className?: any editMode?: boolean setScript?(e?: any): any } const EditableMixtureComponent: FC = ({ editMode, ...props }) => editMode ? : export const EditableMixture = memo(EditableMixtureComponent)