Skip to content

Commit

Permalink
Update Readme (#68)
Browse files Browse the repository at this point in the history
Add React while importing, its required for JSX to work.
  • Loading branch information
jikkujose authored and bringking committed Dec 2, 2017
1 parent 904e3c2 commit 5cab6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ and include it in your application.

Creating an animated element is as simple using an `<Animated.[elementName]>` component and supplying `keyframes` and a `timing` config.
```jsx
import { Component } from 'react';
import React, { Component } from 'react';
import { Animated } from 'react-web-animation';


Expand Down

0 comments on commit 5cab6a8

Please sign in to comment.