Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ you can find demo files in `./examples` folder -- launch with `yarn start`
## Usage
Most basic react-lottie example:
```typescript
import React from 'react';
import * as React from 'react';
import { Lottie } from '@crello/react-lottie'
import animationData from './myAwesomeAnimation.json'

Expand Down
2 changes: 1 addition & 1 deletion example/src/LottieBasic.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import { Lottie } from './reactComponentLib';
import animationData from './lotties/11705-lightning-vfx.json'

Expand Down
2 changes: 1 addition & 1 deletion example/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import ReactDOM from 'react-dom';
import { LottieBasic } from './LottieBasic';
import { LottieQueue } from './LottieQueue';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Lottie/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import lottiePlayer, { AnimationItem, AnimationConfig } from 'lottie-web';
import { ReactLottieOwnProps, ReactLottieEvent, ReactLottieConfig, ReactLottiePlayingState, ReactLottieState, ReactLottieConfigWithData, ReactLottieConfigWithPath } from './interface'

Expand Down