Skip to content

Commit

Permalink
Adds changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
cannikin committed May 22, 2024
1 parent 779925c commit f5952f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changesets/10677.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Adds `searchParams` option to `useOgImage()` hook for adding arbitrary query string vars to generated URL (#10677) by @cannikin

```
const { url } = useOgImage({ searchParams: { foo: 'bar' })
console.log(url) // => http://localhost:8910/photo.png?foo=bar
```

0 comments on commit f5952f7

Please sign in to comment.