diff --git a/README.md b/README.md index 71dbb28..18cc718 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ export default class LottieControl extends React.Component { const defaultOptions = { loop: true, - autoplay: true, - animationData: animationData, + autoplay: true, + animationData: animationData.default, rendererSettings: { preserveAspectRatio: 'xMidYMid slice' } @@ -67,7 +67,8 @@ export default class LottieControl extends React.Component { height={400} width={400} isStopped={this.state.isStopped} - isPaused={this.state.isPaused}/> + isPaused={this.state.isPaused} + isClickToPauseDisabled={true}/>