reactjs – How to use Unity created .obj file inside a component?

I have one file with .obj extension which created with the help of Unity Software. And wants use in my React Component, but no any idea about how to use in that.

Not sure about which lib needs to import and how to use

import React, { useState, useMemo } from 'react'
import logo from './logo.svg';
import { Group } from 'three';
import './App.css';
function Model({ url }: {url: string}) {
  const [obj, set] = useState()
  useMemo(() => new OBJLoader().load(url, set), [url])
  
  return obj ?  : null
}

function App() {
  return (
    
      

  );
}

export default App;

Read more here: Source link