Skip to content

Commit ca6bad5

Browse files
committed
2 parents 4ceb5da + ca1e401 commit ca6bad5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

documentation/Addons.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ order: -1
77
# Addons
88

99
```jsx
10-
import { {
10+
import {
1111
TimingAnimation,
1212
OscillatorAnimation,
1313
Easing,
@@ -17,4 +17,4 @@ import { {
1717
} from 'react-spring/dist/addons'
1818
```
1919

20-
You'll find varying implementations under [/dist/addons](https://github.com/drcmda/react-spring/tree/master/src/addons). For now there's a time-based animation as well common [easings](https://github.com/drcmda/react-spring/blob/master/src/addons/Easing.js), and IOS'es harmonic oscillator spring. All primitives understand the `impl` property which you can use to switch implementations.
20+
You'll find varying implementations under [/dist/addons](https://github.com/drcmda/react-spring/tree/master/src/addons). For now there's a time-based animation as well common [easings](https://github.com/drcmda/react-spring/blob/master/src/addons/Easing.js), and IOS'es harmonic oscillator spring. All primitives understand the `impl` property which you can use to switch implementations.

src/targets/web/fix-auto.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default function fixAuto(props, callback) {
2323
// Return v.dom with injected ref
2424
return (
2525
<element.type
26+
key={element.key}
2627
{...element.props}
2728
style={{ ...elementStyles, position: 'absolute', visibility: 'hidden' }}
2829
ref={ref => {

0 commit comments

Comments
 (0)