mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-02 08:06:41 +07:00
file uploading template
This commit is contained in:
parent
cfe4731ded
commit
8dc43c77b7
7 changed files with 57 additions and 10 deletions
src/redux/uploads
7
src/redux/uploads/actions.ts
Normal file
7
src/redux/uploads/actions.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import {UPLOAD_ACTIONS} from "~/redux/uploads/constants";
|
||||
|
||||
export const uploadUploadFiles = (files: File[], subject: string) => ({
|
||||
files,
|
||||
subject,
|
||||
type: UPLOAD_ACTIONS.UPLOAD_FILES,
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue