mirror of
https://github.com/zhigang1992/react-native-web-lottie.git
synced 2026-01-12 17:43:01 +08:00
Add autoPlay to example
This commit is contained in:
@@ -5,5 +5,5 @@ import { storiesOf } from '@storybook/react';
|
||||
|
||||
// Gift animation by Jan Semler https://www.lottiefiles.com/u/141
|
||||
storiesOf('Lottie', module)
|
||||
.add('basic', () => <Animation source={require('./assets/gift.json')} />)
|
||||
.add('loop', () => <Animation source={require('./assets/gift.json')} loop />);
|
||||
.add('basic', () => <Animation source={require('./assets/gift.json')} autoPlay />)
|
||||
.add('loop', () => <Animation source={require('./assets/gift.json')} loop autoPlay />);
|
||||
|
||||
Reference in New Issue
Block a user