1.0.1 • Published 3 years ago

@coder-licoo/media-view-react v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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

  1. npm i @coder-licoo/media-view-react
  2. yarn add @coder-licoo/media-view-react

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/