0.5.6 • Published 5 months ago

@choengteur/react-comic-viewer v0.5.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

react-comic-viewer

react-comic-viewer is comic viewer for react.

Features

  • SSR support
  • TypeScript support

Installation

npm i --save @choengteur/react-comic-viewer

Usage

import React from 'react';
import ComicViewer from '@choengteur/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
showExpansionButtonBoolean
showMoveButtonBoolean
onChangeCurrentPageFunction
onChangeExpansionFunction
onClickCenterFunction
pagesArray
switchingRatioNumber
widthSizeNumber
textObject

Support

Full Screen API does not support iOS.

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

0.5.6

5 months ago

0.5.5

7 months ago

0.5.4

7 months ago

0.5.3

7 months ago

0.5.2

7 months ago

0.5.1

7 months ago

0.5.0

7 months ago

0.4.5

7 months ago

0.4.4

7 months ago

0.4.3

7 months ago

0.4.2

7 months ago

0.4.1

7 months ago

0.4.0

7 months ago