react-cosmos-renderer 6.1.0 → 6.1.1-canary.cb0bcd0.0

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.
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function useFixtureInput<T>(inputName: string, defaultValue: T): [T, React.Dispatch<React.SetStateAction<T>>];
1
+ import { Dispatch, SetStateAction } from 'react-cosmos-core';
2
+ export declare function useFixtureInput<T>(inputName: string, defaultValue: T): [T, Dispatch<SetStateAction<T>>];
@@ -1,2 +1,2 @@
1
- import React from 'react';
2
- export declare function useSetInputValue<T>(inputName: string, defaultValue: T): React.Dispatch<React.SetStateAction<T>>;
1
+ import { Dispatch, SetStateAction } from 'react-cosmos-core';
2
+ export declare function useSetInputValue<T>(inputName: string, defaultValue: T): Dispatch<SetStateAction<T>>;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import { Dispatch, SetStateAction } from 'react-cosmos-core';
2
2
  type Opts<T> = {
3
3
  defaultValue: T;
4
4
  };
5
- export declare function useValue<T>(inputName: string, opts: Opts<T>): [T, React.Dispatch<React.SetStateAction<T>>];
5
+ export declare function useValue<T>(inputName: string, opts: Opts<T>): [T, Dispatch<SetStateAction<T>>];
6
6
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-cosmos-renderer",
3
- "version": "6.1.0",
3
+ "version": "6.1.1-canary.cb0bcd0.0+cb0bcd0",
4
4
  "description": "React Cosmos Renderer",
5
5
  "repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos-renderer",
6
6
  "license": "MIT",
@@ -12,8 +12,8 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "lodash-es": "4.17.21",
15
- "react-cosmos-core": "^6.1.0",
15
+ "react-cosmos-core": "6.1.1-canary.cb0bcd0.0+cb0bcd0",
16
16
  "react-is": "18.2.0"
17
17
  },
18
- "gitHead": "189ce69cb4c190459226ff7e550de0f1cc364242"
18
+ "gitHead": "cb0bcd0e18f400f6bd36cfa7b2478290c3db5e18"
19
19
  }