From e889d701a9930a532fa853c2a5ce9d426d132225 Mon Sep 17 00:00:00 2001 From: Samrith Shankar Date: Sun, 23 Jun 2019 04:47:38 +0200 Subject: [PATCH] Update README --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 93ed852..951aa97 100644 --- a/README.md +++ b/README.md @@ -10,18 +10,22 @@ npm install --save react-live-time ``` +or + +```bash +yarn add react-live-time +``` + ## Usage -```tsx -import * as React from 'react' +```javascript +import React from 'react'; -import MyComponent from 'react-live-time' +import ReactLiveTime from 'react-live-time'; -class Example extends React.Component { - render () { - return ( - - ) +class MyApp extends React.Component { + render() { + return ; } } ```