Skip to main content

useUploadOptions

Package​

@rpldy/uploady

Installation​

npm install @rpldy/uploady

Details​

type useUploadOptions = (options?: CreateOptions) => CreateOptions;

Hook to set/get upload options.

Example​

import { useUploadOptions } from "@rpldy/uploady";

const MyComponent = () => {
const options = useUploadOptions({ grouped: true, maxGroupSize: 3 });

//...
};