@coder-licoo/media-view-react
v1.0.1
Published
基于react的视频、图片展示组件 使用了antd/icons antd/button
Downloads
1
Readme
media-view-react
Description
Multimedia file display component based on react (picture, video)
react、antd
import { MediaView } from "@coder-licoo/media-view-react"
<MediaView dataSource={[
{
name:"文件名称",
url:"文件路径",
type:"picture", // 文件类型 非必须 没有该参数则从url中获取 暂时只支持picture、video
}
]}></MediaView>
Installation
- npm i @coder-licoo/media-view-react
- yarn add @coder-licoo/media-view-react
Contribution
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request
Gitee Feature
- You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
- Gitee blog blog.gitee.com
- Explore open source project https://gitee.com/explore
- The most valuable open source project GVP
- The manual of Gitee https://gitee.com/help
- The most popular members https://gitee.com/gitee-stars/