Skip to content

Commit f818986

Browse files
committed
Add autoPlay to example
1 parent 88a4b51 commit f818986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/stories/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import { storiesOf } from '@storybook/react';
55

66
// Gift animation by Jan Semler https://www.lottiefiles.com/u/141
77
storiesOf('Lottie', module)
8-
.add('basic', () => <Animation source={require('./assets/gift.json')} />)
9-
.add('loop', () => <Animation source={require('./assets/gift.json')} loop />);
8+
.add('basic', () => <Animation source={require('./assets/gift.json')} autoPlay />)
9+
.add('loop', () => <Animation source={require('./assets/gift.json')} loop autoPlay />);

0 commit comments

Comments
 (0)