Skip to content

Commit

Permalink
Update API.md
Browse files Browse the repository at this point in the history
  • Loading branch information
drcmda authored Jun 14, 2018
1 parent c3935f7 commit 65de872
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

```jsx
import { config } from 'react-spring'

<Spring config={condig.default}
```

```jsx
Expand All @@ -14,6 +16,11 @@ import { config } from 'react-spring'
*/
```

- tension, controls the initial plus force of the spring when let loose (default: 170)
- friction, controls the opposition or antagonistic minus force (default: 26)
- restSpeedThreshold, precision (default: 0.0001)
- restDisplacementThreshold, displacement precision (default: 0.0001)

# Spring

```jsx
Expand Down

0 comments on commit 65de872

Please sign in to comment.