Skip to content

Commit 9488078

Browse files
committed
doc(Color): update example. #194
1 parent 629b1d3 commit 9488078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/color/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ npm i @uiw/react-color
8888
[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?logo=codesandbox)](https://codesandbox.io/embed/react-color-example-rev1n?fontsize=14&hidenavigation=1&theme=dark) [![Open in Github gh-pages](https://img.shields.io/badge/Open%20In-Github%20gh--pages-blue?logo=github)](https://uiwjs.github.io/react-color/)
8989

9090
```jsx
91-
import { Slider, Sketch, Material, Colorful, Compact, Circle, Wheel, Block, Github, Chrome } from '@uiw/react-color';
91+
import { Slider, Sketch, Material, Colorful, Compact, Circle, Swatch, Wheel, Block, Github, Chrome } from '@uiw/react-color';
9292
import { Alpha, Hue, ShadeSlider, Saturation, Interactive, hsvaToHslaString } from '@uiw/react-color';
9393
import { EditableInput, EditableInputRGBA, EditableInputHSLA } from '@uiw/react-color';
9494

0 commit comments

Comments
 (0)