Describe the bug
TypeScript error in /src/pages/uiComponentsPages/forms/DateTimePickersPage.tsx(18,12):
To Reproduce
Steps to reproduce the behavior:
Go to the root directory terminal
Run command yarn start
In the terminal you can see this issue
'DayjsDatePicker' cannot be used as a JSX component.
Its instance type 'Component<PickerProps & { status?: "" | "warning" | "error" | undefined; dropdownClassName?: string | undefined; popupClassName?: string | undefined; }, unknown, any> & CommonPickerMethods' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import("/node_modules/@types/styled-components/node_modules/@types/react/index").ReactNode'.
Type '{}' is not assignable to type 'ReactNode'.ts(2786)
Describe the bug TypeScript error in /src/pages/uiComponentsPages/forms/DateTimePickersPage.tsx(18,12):
To Reproduce Steps to reproduce the behavior:
yarn start
'DayjsDatePicker' cannot be used as a JSX component.
Its instance type 'Component<PickerProps & { status?: "" | "warning" | "error" | undefined; dropdownClassName?: string | undefined; popupClassName?: string | undefined; }, unknown, any> & CommonPickerMethods' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import("/node_modules/@types/styled-components/node_modules/@types/react/index").ReactNode'.
Type '{}' is not assignable to type 'ReactNode'.ts(2786)