JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q35364F
  • License MIT

React child sequence

Package Exports

  • @kodemonki/react-child-sequence

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@kodemonki/react-child-sequence) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

kodemonki/react-child-sequence

Plays a sequence of child image objects

Install

$ npm install @kodemonki/react-child-sequence

Props

loop - true|false - repeat sequence
yoyo - true|false - replay in reverse
frameRate - number - time frame is visible for

Usage

import { Sequence } from "@kodemonki/react-child-sequence";

<Sequence loop={true} yoyo={true} frameRate={60}>
  <img src={logo1} />
  <img src={logo2} />
  <img src={logo3} />
</Sequence>;