Skip to content

Commit

Permalink
Merge pull request #72 from vgpena/patch-1
Browse files Browse the repository at this point in the history
Match TS props to React PropTypes
  • Loading branch information
mifi authored Apr 14, 2022
2 parents ad6cc36 + 36e957d commit 400f815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare module 'react-lottie-player' {
React.HTMLAttributes<HTMLDivElement>,
HTMLDivElement
> &
Pick<AnimationConfig, 'loop' | 'renderer' | 'rendererSettings' | 'audioFactory'> & {
Partial<Pick<AnimationConfig, 'loop' | 'renderer' | 'rendererSettings' | 'audioFactory'>> & {
play?: boolean
goTo?: number
speed?: number
Expand Down

0 comments on commit 400f815

Please sign in to comment.