Hello, I want to render a cube with the length of an array and display it in the react canvas, but it is not possible
import React, {useState} from ‘react’
import {Canvas} from ‘@react-three/fiber’
function App() {
const [cub,setCub]=useState([2,5,6,7])
return (
{cub.map((e,i)=>
)}
);
}
export default App;