apiKey isn't allowed on the options prop passed to UploadButton:
Type '{ apiKey: string; }' is not assignable to type 'UploadWidgetReactConfig'.
Object literal may only specify known properties, and 'apiKey' does not exist in type 'UploadWidgetReactConfig'.
The expected type comes from property 'options' which is declared here on type 'IntrinsicAttributes & UploadButtonProps'
apiKey
isn't allowed on the options prop passed to UploadButton:Simple reproduction, React/Vite/TypeScript@5.3
Other options work fine. I believe it has to do with how it's linking to the @bytescale/sdk types.