Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: export new useReducedMotion hook
  • Loading branch information
joshuaellis committed May 5, 2022
commit 729d1f50d8085a7b009f3d17d05f17dc0a221587
1 change: 1 addition & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export { BailSignal } from './runAsync'
export {
createInterpolator,
useIsomorphicLayoutEffect,
useReducedMotion,
} from '@react-spring/shared'
export { inferTo } from './helpers'

Expand Down
1 change: 1 addition & 0 deletions packages/shared/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export * from './hooks/useMemoOne'
export * from './hooks/useOnce'
export * from './hooks/usePrev'
export * from './hooks/useIsomorphicLayoutEffect'
export * from './hooks/useReducedMotion'

export * from './fluids'

Expand Down