Chok’s React Utilities
    Preparing search index...

    Type Alias StorageOptions<T>

    Either use a pre-built store, or a custom one you provide.

    type StorageOptions<T> = {
        store?: StorageAdapter<T> | StoreOptions;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    store?: StorageAdapter<T> | StoreOptions

    You can either specify the storage adapter directly to use a custom store, or specify the properties to use the pre-built ones.