"use client";

// src/hooks/use-mod-key-label.ts
import * as React from "react";
function useModKeyLabel() {
  const [mod, setMod] = React.useState("\u2318");
  React.useEffect(() => {
    setMod(
      typeof navigator !== "undefined" && /Mac|iPhone|iPod|iPad/i.test(navigator.platform) ? "\u2318" : "Ctrl"
    );
  }, []);
  return mod;
}
function useAltKeyLabel() {
  const [alt, setAlt] = React.useState("\u2325");
  React.useEffect(() => {
    setAlt(
      typeof navigator !== "undefined" && /Mac|iPhone|iPod|iPad/i.test(navigator.platform) ? "\u2325" : "Alt"
    );
  }, []);
  return alt;
}
export {
  useAltKeyLabel,
  useModKeyLabel
};
//# sourceMappingURL=use-mod-key-label.js.map