Atlaskit Editor error with EditorContext

Hi all,
Could you help me, I am using Atlaskit Editor with EditorContext. It had worked before, but now after I updated dependencies it stopped working.
The error which I get: Type ‘{ children: Element; }’ has no properties in common with type ‘IntrinsicAttributes & IntrinsicClassAttributes & Readonly’.ts(2559)
I’ve tried used example from Atlaskit by Atlassian and it doesn’t work too.

I am wondering if there is at least one developer who made this editor running.

2 Likes

I am still have the problem
here is my package.json dependencies

  "dependencies": {
    "@atlaskit/button": "^16.3.4",
    "@atlaskit/editor-core": "^170.0.0",
    "react": "^16.14.0",
    "react-dom": "^16.14.0",
    "react-intl-next": "npm:react-intl@^5.25.1",
    "react-scripts": "^5.0.1",
    "typescript": "^4.7.4"
  }

app.tsx

import {
  Editor,
  WithEditorActions,
  EditorContext,
} from "@atlaskit/editor-core";
import Button, { ButtonGroup } from "@atlaskit/button";
import "./App.css";

function App() {
  return (
    <EditorContext>
      <div>
        <Editor />
        <WithEditorActions
          render={(actions) => (
            <ButtonGroup>
              <Button onClick={() => actions.clear()}>Clear Editor</Button>
              <Button onClick={() => actions.focus()}>Focus Editor</Button>
            </ButtonGroup>
          )}
        />
      </div>
    </EditorContext>
  );
}

export default App;