Skip to content

Commit 5cab6a8

Browse files
jikkujosebringking
authored andcommitted
Update Readme (#68)
Add React while importing, its required for JSX to work.
1 parent 904e3c2 commit 5cab6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ and include it in your application.
6363

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

6969

0 commit comments

Comments
 (0)