From 5cab6a88c0c76aed466699a6b611fd84e5e80816 Mon Sep 17 00:00:00 2001 From: Jikku Jose Date: Sat, 2 Dec 2017 20:13:05 +0530 Subject: [PATCH] Update Readme (#68) Add React while importing, its required for JSX to work. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 947f66d..d0bdf39 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ and include it in your application. Creating an animated element is as simple using an `` component and supplying `keyframes` and a `timing` config. ```jsx -import { Component } from 'react'; +import React, { Component } from 'react'; import { Animated } from 'react-web-animation';