react-phone-preview
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

react-photo-preview

simple photo preview dialog

intro

Install

yarn add react-photo-preview

Basic usage

<PhotoPreview
  sources={source}
/>

API

name type default note
defaultCurrentIndex String 0 default index of active preview image
sources PreviewItem[] [] preview image sources
...restProps props of rc-dialog

PreviewItem

name type default note
id String identify
title String title
src String location
desc String description

Readme

Keywords

none

Package Sidebar

Install

npm i react-phone-preview

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

214 kB

Total Files

51

Last publish

Collaborators

  • tanyb-712