Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const { isDragging, progress } = this.props;
const classNames = [styles.editor];
if (isDragging) classNames.push(styles.dnd);
if (progress) classNames.push(styles.uploading);
const plugins = [uploadPlugin, toolbarPlugin];
return (
<div>
</div>
);
}
}
export default DndWrapper(SimpleDndEditor, uploadPlugin);