I'm currently making a to-do-list thing. When I add a folder, the folder is aligned vertically.
(click /Bottom bar/ button -> it shows a /Homecomponent/ folder)
If i add a folder, it keeps going down
but I want the folder aligned like image on the right I did use flex-wrap css all the div.. but couldn't figure out
this is a code
const CreateFolder = () => {let space = <div>
<img className="space" alt="" src="/image/folder-icon.png" /> Adrina <img className="dwarrow" alt="" src="/image/dwarrow_icon.png"/> </div>
const [createFolder, setCreateFolder] = useState([])
const addItem = (e) => {setCreateFolder([...createFolder, space])}
return (
<div><Bottombar submit={addItem}/>
<Homecomponent createFolder={createFolder}/>
</div>
)}
export default CreateFolder
