@ohm-vision/react-storage
Version:
Extension to React to interact with native Window Storage object
9 lines (8 loc) • 303 B
TypeScript
import { StorageProps } from "../config";
import { StorageInterface } from "../interfaces";
/**
* Default number storage which defaults the `convert` to number initializers
* @param props
* @returns
*/
export declare function useNumberStorage(props: StorageProps<Number>): StorageInterface<Number>;