🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@choengteur/react-comic-viewer

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@choengteur/react-comic-viewer

react-comic-viewer is comic viewer for react.

latest
Source
npmnpm
Version
0.5.6
Version published
Maintainers
1
Created
Source

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.

Keywords

comic

FAQs

Package last updated on 25 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts