Skip to content

Instantly share code, notes, and snippets.

View SchauweM's full-sized avatar

Michaël Schauwers SchauweM

  • WeGroup
  • Ghent
View GitHub Profile
### Keybase proof
I hereby claim:
* I am schauwem on github.
* I am michaelschauwers (https://keybase.io/michaelschauwers) on keybase.
* I have a public key ASCsonzq-8mKGUI6bE_CuOlExsKX13Pk4EZUnl7b4knkKAo
To claim this, I am signing this object:
@SchauweM
SchauweM / LottieWrapper.jsx
Created December 3, 2019 12:31
A Lottie-Web wrapper for ReactJS to manipulate animations
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import lottie from 'lottie-web';
/**
* Preserve original sizing
*/
const containerStyle = {
width: '100%',
height: '100%',