@wavy/react-ui 0.0.52 → 0.0.53
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/main.d.ts +6 -2
- package/dist/main.js +8 -8
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -3332,7 +3332,11 @@ declare function useStore<T extends NonFunction<any>>(options: {
|
|
|
3332
3332
|
* @warning Attempting to store a function will throw an error.
|
|
3333
3333
|
*/
|
|
3334
3334
|
defaultValue: CastFn<T>;
|
|
3335
|
-
|
|
3335
|
+
/**
|
|
3336
|
+
* - `"lazy"` Allows you to call the upsert method once, and rejects all other upsert requests.
|
|
3337
|
+
* - `true` Doesn't allow any upsert requests.
|
|
3338
|
+
* */
|
|
3339
|
+
readOnly?: boolean | "lazy";
|
|
3336
3340
|
/**Re-renders the component when the value is changed
|
|
3337
3341
|
* @default false
|
|
3338
3342
|
*/
|
|
@@ -3374,7 +3378,7 @@ declare function useStore<T extends NonFunction<any>>(options: {
|
|
|
3374
3378
|
skipRender: boolean;
|
|
3375
3379
|
/** Skips the validate callback */
|
|
3376
3380
|
skipValidation: boolean;
|
|
3377
|
-
|
|
3381
|
+
skipTransform: boolean;
|
|
3378
3382
|
}>) => void;
|
|
3379
3383
|
read: () => T;
|
|
3380
3384
|
/** Completely removes all the stored data (including persisted data) */
|