import { useEditor, useValue } from "@cmpd/editor";
function useCanUndo() {
  const editor = useEditor();
  return useValue("useCanUndo", () => editor.getCanUndo(), [editor]);
}
export {
  useCanUndo
};
//# sourceMappingURL=useCanUndo.mjs.map
