cogsbox-state 0.5.134 → 0.5.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CogsState.d.ts +1 -0
- package/dist/CogsState.jsx +263 -258
- package/dist/CogsState.jsx.map +1 -1
- package/package.json +1 -1
package/dist/CogsState.d.ts
CHANGED
|
@@ -284,6 +284,7 @@ export declare const notifyComponent: (stateKey: string, componentId: string) =>
|
|
|
284
284
|
export declare function useCogsStateFn<TStateObject extends unknown>(stateObject: TStateObject, { stateKey, serverSync, localStorage, formElements, middleware, reactiveDeps, reactiveType, componentId, initialState, syncUpdate, dependencies, }?: {
|
|
285
285
|
stateKey?: string;
|
|
286
286
|
componentId?: string;
|
|
287
|
+
initialState?: TStateObject;
|
|
287
288
|
} & OptionsType<TStateObject>): [TStateObject, StateObject<TStateObject>];
|
|
288
289
|
export declare function $cogsSignal(proxy: {
|
|
289
290
|
_path: string[];
|