@upstash/react-redis-browser 0.2.14-rc.3 → 0.2.14-rc.5

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/index.d.mts CHANGED
@@ -20,7 +20,7 @@ type RedisBrowserStorage = {
20
20
  set: (value: string) => void;
21
21
  get: () => string | null;
22
22
  };
23
- declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry, onFullScreenClick, theme, }: RedisCredentials & {
23
+ declare const RedisBrowser: ({ url, token, hideTabs, hideSearchTab, storage, disableTelemetry, onFullScreenClick, theme, }: RedisCredentials & {
24
24
  /**
25
25
  * Whether to disable telemetry.
26
26
  *
@@ -34,6 +34,12 @@ declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry,
34
34
  */
35
35
  disableTelemetry?: boolean;
36
36
  hideTabs?: boolean;
37
+ /**
38
+ * Whether to hide the Keys/Search segmented tab selector.
39
+ *
40
+ * @default false
41
+ */
42
+ hideSearchTab?: boolean;
37
43
  /**
38
44
  * If defined, the databrowser will have a full screen button in the tab bar.
39
45
  * Clicking on the button will call this function.
package/dist/index.d.ts CHANGED
@@ -20,7 +20,7 @@ type RedisBrowserStorage = {
20
20
  set: (value: string) => void;
21
21
  get: () => string | null;
22
22
  };
23
- declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry, onFullScreenClick, theme, }: RedisCredentials & {
23
+ declare const RedisBrowser: ({ url, token, hideTabs, hideSearchTab, storage, disableTelemetry, onFullScreenClick, theme, }: RedisCredentials & {
24
24
  /**
25
25
  * Whether to disable telemetry.
26
26
  *
@@ -34,6 +34,12 @@ declare const RedisBrowser: ({ url, token, hideTabs, storage, disableTelemetry,
34
34
  */
35
35
  disableTelemetry?: boolean;
36
36
  hideTabs?: boolean;
37
+ /**
38
+ * Whether to hide the Keys/Search segmented tab selector.
39
+ *
40
+ * @default false
41
+ */
42
+ hideSearchTab?: boolean;
37
43
  /**
38
44
  * If defined, the databrowser will have a full screen button in the tab bar.
39
45
  * Clicking on the button will call this function.