We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
debug
SpringContext
1 parent 91757af commit 36b4e51Copy full SHA for 36b4e51
packages/core/src/SpringContext.tsx
@@ -16,6 +16,8 @@ export interface SpringContext {
16
immediate?: boolean
17
/** Set the default `config` prop for future animations. */
18
config?: SpringConfig
19
+ /** Debug all new and existing animations. */
20
+ debug?: boolean
21
}
22
23
const ctx = React.createContext<SpringContext>({})
@@ -33,6 +35,7 @@ export const SpringContext = ({
33
35
props.cancel,
34
36
props.immediate,
37
props.config,
38
+ props.debug,
39
])
40
41
const { Provider } = ctx
0 commit comments