Skip to content

Commit

Permalink
chore(dotcms-ui): add doc #29874
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobytes committed Oct 8, 2024
1 parent c44d2dc commit 97566d0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ export const FileFieldStore = signalStore(
dropZoneActive: state
});
},
/**
* setPreviewFile is used to set previewFile
* @param file uploaded file
*/
setPreviewFile: (file: UploadedFile) => {
patchState(store, {
fileStatus: 'preview',
Expand Down

0 comments on commit 97566d0

Please sign in to comment.