I purchased Atlantis Template. When i try the latest version (atlantis-react-7.0.1.zip) in typescript project won't compile:
Code: Select all
TypeScript error in /home/user/project/atlantis/typescript/src/App.tsx(439,14):
'Tooltip' cannot be used as a JSX component.
Its instance type 'Tooltip' 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("/home/user/project/atlantis/typescript/node_modules/@types/react-router/node_modules/@types/react/index").ReactNode'. TS2786
437 | return (
438 | <div className={layoutClassName} onClick={onDocumentClick}>
> 439 | <Tooltip ref={copyTooltipRef} target=".block-action-copy" position="bottom" content="Copied to clipboard" event="focus" />
| ^
440 |
441 | <div className="layout-main">
442 | <AppTopbar items={menu} menuMode={menuMode} colorScheme={props.colorScheme} menuActive={menuActive}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.