Skip to content

Commit

Permalink
Add missing useState import in color picker docs. (#42069)
Browse files Browse the repository at this point in the history
  • Loading branch information
chintu51 authored Dec 8, 2022
1 parent 3e435cd commit 0afb868
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/color-picker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

```jsx
import { ColorPicker } from '@wordpress/components';
import { useState } from '@wordpress/element';

function Example() {
const [color, setColor] = useState();
Expand Down

0 comments on commit 0afb868

Please sign in to comment.