☁️
Drop Upload
Go to website
  • 👋Getting Started
  • ⚙️Installation
  • 📤Usage
    • 📄File validation
      • Allowed formats
      • Size limits
    • 🎨Customization
Powered by GitBook
On this page
  1. Usage
  2. File validation

Size limits

You can optionally set the minimum and maximum file size allowed for uploads.

This value must be specified in KB and will be used for validation. However, for users, the instruction will be displayed in MB, as it is the standard format (1 MB = 1024 KB).

<DropUpload 
    maxFileSize={2028} // 2 MB
    minFileSize={512} // 0.5 MB
/>

PreviousAllowed formatsNextCustomization

Last updated 3 months ago

📤
📄