@propellerads/image-uploader
v1.3.0
Published
ImageUploader component
Downloads
1,277
Keywords
Readme
ImageUploader
Installation
yarn add @propellerads/image-uploader
ornpm install @propellerads/image-uploader -S
How to use
import ImageUploader from '@propellerads/image-uploader';
- And render
<ImageUploader
title="title"
description="description"
action="action"
elementId="image-uploader-id"
onDrop={(value) => console.log(value)}
acceptFormats=".png,.jpg,.jpe,.jpeg,image/png,image/jpeg"
maxSize={204800}
/>