UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

10 lines (9 loc) 359 B
export type UseOSReturnValue = 'undetermined' | 'macos' | 'ios' | 'windows' | 'android' | 'linux' | 'chromeos'; export interface UseOsOptions { getValueInEffect: boolean; } export declare function useOs(options?: UseOsOptions): UseOSReturnValue; export declare namespace useOs { type Options = UseOsOptions; type ReturnValue = UseOSReturnValue; }