export const useImages = (...paths: string[]) => paths.map((path) => { const img = document.createElement("img"); img.src = path; return img; });