Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FileUploadProps

Hierarchy

  • MainStoreInjected
    • FileUploadProps

Index

Properties

Optional disabled

disabled: boolean

Optional enableFullWidth

enableFullWidth: boolean

Whether the component shall take all available width. Default: true.

Optional mainStore

mainStore: MainStore

Optional onChange

onChange: (arg: any) => void

Сoming from antd Form field decorator

Type declaration

    • (arg: any): void
    • Parameters

      • arg: any

      Returns void

Optional render

render: (fileRef: undefined | string) => ReactNode

Render function that allows to customize the file drop area.

param

a valid FileRef string

Type declaration

    • (fileRef: undefined | string): ReactNode
    • Parameters

      • fileRef: undefined | string

      Returns ReactNode

Optional uploadProps

uploadProps: UploadProps<any>

UploadProps object that is passed through to the underlying antd Upload component

Optional value

value: string

FileRef string. Сoming from antd Form field decorator.

Generated using TypeDoc