0.6.3 • Published 3 years ago

@azu/react-comic-viewer v0.6.3

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

react-comic-viewer

react-comic-viewer is comic viewer for react.

Features

  • TypeScript support

Installation

npm i --save react-comic-viewer

Usage

import React from "react";
import ComicViewer from "react-comic-viewer";

function App() {
  return (
    <ComicViewer pages={["hoge.png", "fuga.jpg", "piyo.jpg", "moge.jpg"]} />
  );
}

export default App;

Return

KeyTypeDescriptiondefault
pagesArray<string | ReactNode>Comic Pages-
switchingRatio?numberRatio to switch to single page1
text?Record<"expansion" | "fullScreen" | "move" | "normal", string>Text displayed{ expansion: "Expansion", fullScreen: "Full screen", move: "Move", normal: "Normal" }
0.6.3

3 years ago

0.5.4

3 years ago

0.6.2

3 years ago

0.5.3

3 years ago

0.5.5

3 years ago

0.5.0

3 years ago

0.6.1

3 years ago

0.5.2

3 years ago

0.6.0

3 years ago

0.5.1

3 years ago

0.4.9

4 years ago

0.4.8

4 years ago

0.4.5

4 years ago

0.4.4

4 years ago

0.4.7

4 years ago

0.4.6

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago