Open cannontechnology opened 1 year ago
Hello, @cannontechnology Can you please share which version of mui are you using?
Also code sample how are you using Autocomplete
would be really helpful to understand your issue. Ideally codesandbox repro: https://codesandbox.io/s/react-mui-y191q
Hi - I'm running into the following issue:
TS2322: Type 'ForwardRefExoticComponent<{ children?: ReactNode; ListBoxProps: ListBoxProps; } & RefAttributes>' is not assignable to type 'JSXElementConstructor<HTMLAttributes> | undefined'.
Type 'ForwardRefExoticComponent<{ children?: ReactNode; ListBoxProps: ListBoxProps; } & RefAttributes>' is not assignable to type '(props: HTMLAttributes, deprecatedLegacyContext?: any) => ReactElement<any, any> | null'.
Types of parameters 'props' and 'props' are incompatible.
Type 'HTMLAttributes' is not assignable to type '{ children?: ReactNode; ListBoxProps: ListBoxProps; } & RefAttributes'.
Property 'ListBoxProps' is missing in type 'HTMLAttributes' but required in type '{ children?: ReactNode; ListBoxProps: ListBoxProps; }'.
149 |
150 | )}