1.0.3 • Published 3 years ago

react-asciinema-player v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

react-asciinema-player

A React component for playing asciinema recordings.

Installation

npm install react-asciinema-player

Usage

import React from "react";

import AsciinemaPlayer from "react-asciinema-player";

const App = () => (
  <AsciinemaPlayer
    src="https://asciinema.org/a/1.cast"
    options={{
      idleTimeLimit: 3,
      preload: true,
      autoPlay: true,
      loop: 0,
      speed: 0.8,
    }}
  />
);

export default App;
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago