UNPKG

@ohm-vision/react-storage

Version:

Extension to React to interact with native Window Storage object

9 lines (8 loc) 384 B
import { StorageProps } from "../config/storage-props"; import { StorageInterface } from "../interfaces/storage-interface"; /** * Default string storage which defaults the `convert` to just pass back and forth the raw object * @param props * @returns */ export declare function useStringStorage<TElement extends string>(props: StorageProps<TElement>): StorageInterface<TElement>;