File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -574,18 +574,17 @@ to make some of your custom elements user-selectable, use the
574574turns off click-and-drag slide navigation, likely interfering with text
575575selection UX.
576576
577- ## Hooks (experimental)
577+ ## Hooks
578578
579- The library exports the following experimental hooks that you may find helpful
580- in customizing lightbox functionality. All experimental hooks are currently
581- exported with the ` unstable_ ` prefix.
579+ The library exports the following hooks that you may find helpful in customizing
580+ lightbox functionality.
582581
583582### useZoom
584583
585584You can use the ` useZoom ` hook to build your custom zoom controls.
586585
587586``` tsx
588- import { unstable_useZoom as useZoom } from " yet-another-react-lightbox-lite" ;
587+ import { useZoom } from " yet-another-react-lightbox-lite" ;
589588```
590589
591590The hook provides an object with the following props:
Original file line number Diff line number Diff line change 11export * from "./types" ;
22export { default } from "./Lightbox" ;
3-
4- // experimental exports
5- export { useZoom as unstable_useZoom } from "./components" ;
3+ export { useZoom } from "./components" ;
You can’t perform that action at this time.
0 commit comments