react-storage-complete
Version:
🗄️ React hooks for accessing localStorage and sessionStorage, with syncing and prefix support. The complete package.
9 lines (8 loc) • 439 B
TypeScript
/// <reference types="react" />
import type { Meta, StoryObj } from '@storybook/react';
declare const StoryComponent: ({ useStorage, ...props }: import("../components/StorageExample").LocalStorageExampleProps<any>) => import("react").JSX.Element;
declare const meta: Meta<typeof StoryComponent>;
export default meta;
type Story = StoryObj<typeof meta>;
export declare const LocalStorage: Story;
export declare const SessionStorage: Story;