Skip to content

Commit

Permalink
Fix invalid example prop name (#70)
Browse files Browse the repository at this point in the history
Fix typo on the props for `avgTypingDelay` in the example file.
  • Loading branch information
shawnkoon authored and Juan committed May 17, 2019
1 parent 5a97259 commit ec490e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Typist from 'Typist';
import './main.scss';

class TypistExample extends React.Component {

state = {
renderMsg: false,
}
Expand All @@ -19,7 +18,7 @@ class TypistExample extends React.Component {
<div className="TypistExample">
<Typist
className="TypistExample-header"
avgTypingSpeed={40}
avgTypingDelay={40}
startDelay={2000}
onTypingDone={this.onHeaderTyped}
>
Expand Down

0 comments on commit ec490e4

Please sign in to comment.