We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7608fff commit c6b3dddCopy full SHA for c6b3ddd
docs/stories/index.js
@@ -6,4 +6,5 @@ import { storiesOf } from '@storybook/react';
6
// Gift animation by Jan Semler https://www.lottiefiles.com/u/141
7
storiesOf('Lottie', module)
8
.add('basic', () => <Animation source={require('./assets/gift.json')} autoPlay />)
9
- .add('loop', () => <Animation source={require('./assets/gift.json')} loop autoPlay />);
+ .add('loop', () => <Animation source={require('./assets/gift.json')} loop autoPlay />)
10
+ .add('onAnimationFinish', () => <Animation source={require('./assets/gift.json')} autoPlay onAnimationFinish={() => alert('Finished!')}/>);
0 commit comments