@sanity/color-input 3.0.0-v3-studio.2 → 3.0.0-v3-studio.3

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -28,12 +28,12 @@ yarn add @sanity/color-input@studio-v3
28
28
  Add it as a plugin in sanity.config.ts (or .js):
29
29
 
30
30
  ```js
31
- import { colorSchema } from "@sanity/color-input";
31
+ import { colorInput } from "@sanity/color-input";
32
32
 
33
33
  export default createConfig({
34
34
  // ...
35
35
  plugins: [
36
- colorSchema(),
36
+ colorInput(),
37
37
  ]
38
38
  })
39
39
  ```
@@ -132,4 +132,4 @@ triggering hotreload. Yalc avoids issues with react-hooks that are typical when
132
132
  ### About build & watch
133
133
 
134
134
  This plugin uses [@sanity/plugin-sdk](https://github.com/sanity-io/plugin-sdk)
135
- with default configuration for build & watch scripts.
135
+ with default configuration for build & watch scripts.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/color-input",
3
- "version": "3.0.0-v3-studio.2",
3
+ "version": "3.0.0-v3-studio.3",
4
4
  "description": "Color input",
5
5
  "scripts": {
6
6
  "clean": "rimraf lib",