1.0.0 • Published 2 years ago
lofter-video-upload v1.0.0
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 // 上传文件的类型
}
1.0.0
2 years ago