Skip to content

Commit

Permalink
docs(components/react/hooks): add import
Browse files Browse the repository at this point in the history
  • Loading branch information
jordevo committed Dec 7, 2023
1 parent 8ca09ff commit d489f6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/react/hooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ Useful when creating, updating or removing data from a source.
Perform a given mutation and update the status of it.

```jsx
import useQuery from '@s-ui/react-hooks/lib/useMutation/index.js'

const QueryStory = () => {
const {domain} = useContext(Context)
const [createAd, {isLoading}] = useMutation(
Expand Down

0 comments on commit d489f6b

Please sign in to comment.