import { Fragment } from "react"; import { getRandomInt, getRandomLength } from "../utils"; const ListItemRow = () => (
{[...Array(6)].map((_, index) => ( {getRandomInt(1, 2) % 2 === 0 ? ( ) : ( )} ))}
); const ListSection = ({ itemCount }: { itemCount: number }) => (
{[...Array(itemCount)].map((_, index) => ( ))}
); export const ListLayoutLoader = () => (
{[6, 5, 2].map((itemCount, index) => ( ))}
);