react-photoswipe-gallery::cityscape:围绕PhotoSwipe的React组件包装器

时间:2021-04-10 20:24:11
【文件属性】:
文件名称:react-photoswipe-gallery::cityscape:围绕PhotoSwipe的React组件包装器
文件大小:1.03MB
文件格式:ZIP
更新时间:2021-04-10 20:24:11
react gallery typescript lightbox photoswipe React光刷画廊 围绕配置且灵活的React组件包装器。 基本用法 import 'photoswipe/dist/photoswipe.css' import 'photoswipe/dist/default-skin/default-skin.css' import { Gallery , Item } from 'react-photoswipe-gallery' const MyGallery = ( ) => ( < Gallery> < Item original = "https://placekitten.com/1024/768?image=1" thumbnail = "https://placekitten.com/80/60?image=1" width = "1024" height = "768"
【文件预览】:
react-photoswipe-gallery-master
----.eslintrc(3KB)
----.yarnrc.yml(488B)
----.lintstagedrc(57B)
----renovate.json(258B)
----.storybook()
--------main.js(451B)
----.husky()
--------.gitignore(2B)
--------pre-commit(51B)
----package.json(4KB)
----.github()
--------workflows()
----.prettierrc(85B)
----LICENSE(1KB)
----src()
--------helpers.ts(1KB)
--------no-ref-error.ts(202B)
--------__tests__()
--------context.ts(206B)
--------photoswipe-layout.tsx(4KB)
--------gallery-custom.tsx(5KB)
--------types.ts(334B)
--------index.stories.tsx(8KB)
--------gallery-default.tsx(878B)
--------hooks.ts(330B)
--------item.ts(2KB)
--------index.ts(174B)
--------gallery-base.ts(781B)
----tsconfig.json(526B)
----jest.setup.js(141B)
----.gitignore(120B)
----CHANGELOG.md(38KB)
----commitlint.config.js(69B)
----.yarn()
--------plugins()
--------releases()
----README.md(7KB)
----yarn.lock(651KB)
----.editorconfig(129B)

网友评论