0.4.0 • Published 2 years ago

react-comic-viewer v0.4.0

Weekly downloads
20
License
MIT
Repository
github
Last release
2 years ago

react-comic-viewer

react-comic-viewer is comic viewer for react.

Features

  • SSR support
  • 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;

Props

ReturnTypeRequired
classNameObject
directionString
initialCurrentPageNumber
initialIsExpansionBoolean
onChangeCurrentPageFunction
onChangeExpansionFunction
onClickCenterFunction
pagesArray
switchingRatioNumber
textObject

Support

Full Screen API does not support iOS.

Therefore, the full screen button is not displayed on iOS.

0.4.0

2 years ago

0.3.5

2 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.0

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.2.1

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.4

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago