import React, { Fragment } from 'react'; import { AnimatedBox, Box } from '../Box'; import type { IOpacity } from './skeleton'; interface IProps extends IOpacity { nItems?: number; } export const Group = ({ nItems = 2, opacity }: IProps) => { const Item = () => ( ); const SeparatorT = () => ( ); return ( {[...Array(nItems)].map((_, inx) => inx + 1 !== [...Array(nItems)].length ? ( ) : ( ) )} ); };