Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Type Alias PersistRootProps<T>

    PersistRootProps: PersistKeys & Pick<PersistLocation<T>, "format"> & {
        children: (state: PersistState<T>) => ReactNode;
        initialValue: T;
    }

    Type Parameters

    Type Declaration

    • children: (state: PersistState<T>) => ReactNode

      Render function that receives the current value and its state setter.

    • initialValue: T

      Value used to initialize the state.