0.6.3 • Published 2 years ago
@azu/react-comic-viewer v0.6.3
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
Key | Type | Description | default |
---|---|---|---|
pages | Array<string | ReactNode> | Comic Pages | - |
switchingRatio? | number | Ratio to switch to single page | 1 |
text? | Record<"expansion" | "fullScreen" | "move" | "normal", string> | Text displayed | { expansion: "Expansion", fullScreen: "Full screen", move: "Move", normal: "Normal" } |
0.6.3
2 years ago
0.5.4
2 years ago
0.6.2
2 years ago
0.5.3
2 years ago
0.5.5
2 years ago
0.5.0
2 years ago
0.6.1
2 years ago
0.5.2
2 years ago
0.6.0
2 years ago
0.5.1
2 years ago
0.4.9
2 years ago
0.4.8
2 years ago
0.4.5
2 years ago
0.4.4
2 years ago
0.4.7
2 years ago
0.4.6
2 years ago
0.4.3
2 years ago
0.4.2
3 years ago
0.4.1
3 years ago
0.4.0
3 years ago