UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

10 lines (9 loc) 351 B
export interface UseHashInput { getInitialValueInEffect?: boolean; } export type UseHashReturnValue = [string, (value: string) => void]; export declare function useHash({ getInitialValueInEffect }?: UseHashInput): UseHashReturnValue; export declare namespace useHash { type Options = UseHashInput; type ReturnValue = UseHashReturnValue; }