Trying to use @atlassianlabs/jql-editor and '@atlassianlabs/jql-editor-autocomplete-rest' in my forge app

Hi i am trying to set up a jql search bar in my jira app i am trying to use the packages provided by atlassion labs a=but i am getting an error while installing it that root has react 18.3 and it is looking for react 16.0