Uppy Core() and adding options

Hi,

Can someone help me to add options such as the below;

autoProceed: false,
allowMultipleUploads: false,
restrictions: {
maxNumberOfFiles: 1,
minNumberOfFiles: 1,
}

To this code;

  const uppyElement = Uppy.Core()
  
      .use(Uppy.Dashboard, {
      id: 'element',
      showLinkToFileUploadResult: false,
  //    hideUploadButton: true,
      hideCancelButton: true,
      inline: true,
      height: 180,
      width: '100%',
      target: '#element-photo'
  })
  
  .use(Uppy.XHRUpload, {endpoint: '/uppy-element'})

Looks like it should be in the Core() function call but I can’t figure it out!

Paypal donation of £20 to the solution provider, I need an answer asap.

You can put this block of code in the Core() function, so it would look like:
Uppy.Core({
autoProceed: false,
allowMultipleUploads: false,
restrictions: {
maxNumberOfFiles: 1,
minNumberOfFiles: 1,
}
})