Please specify what version of the library you are using: [3.18.1]
Expected / Desired Behavior / Question
It should be possible to use FilePicker in a React app via <FilePicker .... />.
Observed Behavior
JSX element class does not support attributes because it does not have a 'props' property.ts(2607)
'FilePicker' cannot be used as a JSX component.
Its type 'typeof FilePicker' is not a valid JSX element type.
Types of construct signatures are incompatible.
Type 'new (props: IFilePickerProps) => FilePicker' is not assignable to type 'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'.
Type 'FilePicker' is missing the following properties from type 'Component<any, any, any>': context, setState, forceUpdate, props, and 2 more.ts(2786)
Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [3.18.1]
Expected / Desired Behavior / Question
It should be possible to use FilePicker in a React app via <FilePicker .... />.
Observed Behavior
JSX element class does not support attributes because it does not have a 'props' property.ts(2607) 'FilePicker' cannot be used as a JSX component. Its type 'typeof FilePicker' is not a valid JSX element type. Types of construct signatures are incompatible. Type 'new (props: IFilePickerProps) => FilePicker' is not assignable to type 'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'. Type 'FilePicker' is missing the following properties from type 'Component<any, any, any>': context, setState, forceUpdate, props, and 2 more.ts(2786)