Skip to content

Commit

Permalink
Update documentation for importing hooks (#4896)
Browse files Browse the repository at this point in the history
Co-authored-by: Jed Watson <jed@keystonejs.com>
  • Loading branch information
Methuselah96 and JedWatson committed Nov 5, 2021
1 parent b2bfd22 commit 7a7275d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/async/index.tsx
Expand Up @@ -21,7 +21,7 @@ export default function Async() {
Use the Async component to load options from a remote source as the user types.
~~~jsx
import Async, { makeAsyncSelect } from 'react-select/async';
import Async, { useAsync } from 'react-select/async';
~~~
## Loading Asynchronously
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/creatable/index.tsx
Expand Up @@ -25,7 +25,7 @@ export default function Creatable() {
# Creatable
~~~jsx
import Creatable, { makeCreatableSelect } from 'react-select/creatable';
import Creatable, { useCreatable } from 'react-select/creatable';
~~~
For the prop definition, please see the API docs [here](/props)
Expand Down

0 comments on commit 7a7275d

Please sign in to comment.