Hi,
I want use atlaskit/dynamic-table in my app.
I install it:
$npm install @atlaskit/dynamic-table
and have this info:
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer
maintained and not recommended for usage due to the number of issues.
Because of the V8 engine whims, feature detection in old core-js versions
could cause a slowdown up to 100x even if nothing is polyfilled.
Some versions have web compatibility issues. Please,
upgrade your dependencies to the actual version of core-js.
added 77 packages, and audited 500 packages in 14s
58 packages are looking for funding
run `npm fund` for details
also I use router in my app and after installation I get error:
'Router' cannot be used as a JSX component.
Its type '({ basename: basenameProp, children, location: locationProp,
navigationType, navigator, static: staticProp, }: RouterProps) =>
ReactElement<any, string | JSXElementConstructor<any>> | null'
is not a valid JSX element type.
Type '({ basename: basenameProp, children, location: locationProp,
navigationType, navigator, static: staticProp, }: RouterProps) =>
ReactElement<any, string | JSXElementConstructor<any>> | null'
is not assignable to type '(props: any, deprecatedLegacyContext?: any) => ReactNode'.
Type 'ReactElement<any, string | JSXElementConstructor<any>> | null'
is not assignable to type 'ReactNode'.
Type 'ReactElement<any, string | JSXElementConstructor<any>>'
is not assignable to type 'ReactNode'.
Property 'children' is missing in type 'ReactElement<any, string | JSXElementConstructor<any>>' but required in type 'ReactPortal'.ts(2786)
index.d.ts(198, 9): 'children' is declared here.
(alias) function Router({ basename: basenameProp, children,
location: locationProp, navigationType, navigator, static: staticProp, }: RouterProps): React.ReactElement | null
import Router
that I should do ?