@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
11 lines • 345 B
TypeScript
//#region src/hooks/use-os/index.d.ts
type OS = "android" | "chromeos" | "ios" | "linux" | "macos" | "undetermined" | "windows";
/**
* `useOS` is a custom hook that returns the user's OS.
*
* @see https://yamada-ui.com/docs/hooks/use-os
*/
declare const useOS: () => OS;
//#endregion
export { OS, useOS };
//# sourceMappingURL=index.d.ts.map