import { connectToEditor } from "../withEditorProps";
import restrictionEnzymesSelector from "../selectors/restrictionEnzymesSelector";
export var withRestrictionEnzymes = connectToEditor(function (editorState, ownProps) {
  var allRestrictionEnzymes = restrictionEnzymesSelector(editorState, ownProps.additionalEnzymes, ownProps.enzymeGroupsOverride);
  return {
    allRestrictionEnzymes: allRestrictionEnzymes
  };
});