Skip to content

Commit

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

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

```jsx
/*
default: { tension: 170, friction: 26 },
gentle: { tension: 120, friction: 14 },
Expand All @@ -13,6 +15,10 @@ import { config } from 'react-spring'

# Spring

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

```jsx
class Spring extends React.PureComponent {
static propTypes = {
Expand All @@ -39,6 +45,10 @@ class Spring extends React.PureComponent {

# SpringTransition

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

```jsx
class SpringTransition extends React.PureComponent {
static propTypes = {
Expand All @@ -65,6 +75,10 @@ class SpringTransition extends React.PureComponent {

# SpringTrail

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

```jsx
class SpringTrail extends React.PureComponent {
static propTypes = {
Expand Down

0 comments on commit c7417b6

Please sign in to comment.