Skip to content

Commit

Permalink
doc(Chrome): Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 18, 2021
1 parent 7643d85 commit 23b2a82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/color-chrome/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
React Color Github
React Color Chrome
===

[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-color-github)](https://bundlephobia.com/package/@uiw/react-color-github) [![npm version](https://img.shields.io/npm/v/@uiw/react-color-github.svg)](https://www.npmjs.com/package/@uiw/react-color-github) [![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-color-github/file/README.md)
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-color-chrome)](https://bundlephobia.com/package/@uiw/react-color-chrome) [![npm version](https://img.shields.io/npm/v/@uiw/react-color-chrome.svg)](https://www.npmjs.com/package/@uiw/react-color-chrome) [![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-color-chrome/file/README.md)

<img src="https://user-images.githubusercontent.com/1680273/126048126-172abdc2-f7cf-4519-8974-f815c102e2de.png" width="210" alt="react-color-chorme" />
<img src="https://user-images.githubusercontent.com/1680273/126048126-172abdc2-f7cf-4519-8974-f815c102e2de.png" width="210" alt="react-color-chrome" />

## Install

Expand All @@ -14,13 +14,13 @@ npm i @uiw/react-color-chorme
## Usage

```js
import Chorme from '@uiw/react-color-chorme';
import Chrome from '@uiw/react-color-chrome';
import { GithubPlacement } from '@uiw/react-color-github';

function Demo() {
const [hex, setHex] = useState("#fff");
return (
<Chorme
<Chrome
color={hex}
placement={GithubPlacement.Right}
onChange={(color) => {
Expand Down

0 comments on commit 23b2a82

Please sign in to comment.