Hi team,
I'm getting these two errors when I do a build -
----------------------------------------------------------------------
No overload matches this call.
Overload 1 of 2, '(props: Props | Readonly<Props>): CopyToClipboard', gave the following error.
Type '{ children: Element; text: string; onCopy: () => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<CopyToClipboard> & Readonly<Props>'.
Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<CopyToClipboard> & Readonly<Props>'.
Overload 2 of 2, '(props: Props, context: any): CopyToClipboard', gave the following error.
Type '{ children: Element; text: string; onCopy: () => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<CopyToClipboard> & Readonly<Props>'.
Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<CopyToClipboard> & Readonly<Props>'.
----------------------------------------------------------------------
'Highlight' cannot be used as a JSX component.
Its instance type 'Highlight' 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("D:/Development/Integrations/VSCode/vod/vod-poc-frontend-server/node_modules/react-intl/node_modules/@types/react/index").ReactNode'.
Type '{}' is not assignable to type 'ReactNode'.
----------------------------------------------------------------------
- Running the latest gist files
- Node v16.15.0
Cheers!
Hi,
Could you please check the doc: https://preview.keenthemes.com/metronic8/react/docs/docs/quick-start. It should help you to avoid this issue.
Regards,
Keenthemes support