UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

12 lines (11 loc) 304 B
interface EyeDropperOpenOptions { signal?: AbortSignal; } export interface EyeDropperOpenReturnType { sRGBHex: string; } export declare function useEyeDropper(): { supported: boolean; open: (options?: EyeDropperOpenOptions) => Promise<EyeDropperOpenReturnType | undefined>; }; export {};