import { useState as u, useCallback as r } from "react";
function l(t = "visual") {
  const [e, o] = u(t), s = r((a) => {
    o(a);
  }, []);
  return { mode: e, setMode: s };
}
export {
  l as default
};
//# sourceMappingURL=useHtmlEditorState.js.map
