import React, { Fragment } from 'react'; import { Normalize } from '../../utils/normalize'; import { AnimatedBox, Box } from '../Box'; import { Divisor } from '../Divisor'; import type { IOpacity } from './skeleton'; interface IProps extends IOpacity { nItems?: number; } export const SearchResult = ({ opacity, nItems = 1 }: IProps) => { const items = [...Array(nItems).keys()].map((_, index) => ( {index < nItems - 1 && } )); return <>{items}; };