Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonmarinho committed Nov 6, 2017
1 parent 1031208 commit 945aead
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Usage
-----------

```javascript
import React, { Component } from 'react';
import React from 'react';
import ReactTextRotator from 'react-text-rotator';

const content = [
Expand Down Expand Up @@ -61,9 +61,9 @@ const content = [
},
];

const Component = () => (
const MyComponent = () => (
<div>
<h1>React Text Rotator</h1>
<h1>Churchill's Speech</h1>
<ReactTextRotator
content={content}
time={5000}
Expand Down

0 comments on commit 945aead

Please sign in to comment.