UNPKG

react-web-animation

Version:

react-web-animation is a set of React components that expose the Web Animations API in a declarative way.

17 lines (14 loc) 514 B
/* eslint no-unused-vars:0 */ import React from 'react'; import Effect from './effect'; /** * <AnimationSequence/> is a grouping element that uses the SequenceEffect class provided by the Web Animations API polyfill. * Any <Animatable/> elements in a <AnimationSequence/> will be run in serial, and <AnimationSequence/> will provide a single * timeline for the SequenceEffect. */ class AnimationSequence extends Effect { constructor() { super('SequenceEffect'); } } export default AnimationSequence;