Frappe-UI, how to upload private file with FileUploader

Hi everyone, I want to use FileUploader in frappe-ui library to upload file into private folder, but it not work. Someone know it?

<FileUploader @success="(file) => saveFile(file)" :private="true" :fileTypes="['text/plain']">

Hi, i found it. just put uploadArgs in tag

<FileUploader @success="(file) => saveFile(file)" :uploadArgs="fileUploadArgs" :fileTypes="['text/plain']">

with fileUploadArgs = {“private”: true}.
Additional, u can use with params else:

{
  private?: boolean
  folder?: string
  file_url?: string
  doctype?: string
  docname?: string
  fieldname?: string
  method?: string
  type?: string
  upload_endpoint?: string
}