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