lofter-video-upload
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Foo

Demo:

import React from 'react';
import { VideoUpload } from 'video-upload';

export default () => <VideoUpload />;

api

interface Props {
  hint?: string;  // 额外的描述文字,比如'限制width:xxx,height:xxx'
  value?: string;
  onChange?: (value: string) => void;
  accept?: string // 上传文件的类型
}

/lofter-video-upload/

    Package Sidebar

    Install

    npm i lofter-video-upload

    Weekly Downloads

    5

    Version

    1.0.0

    License

    none

    Unpacked Size

    30 kB

    Total Files

    17

    Last publish

    Collaborators

    • shenyuan