import {cloneElement} from 'react'; import styled from '@emotion/styled'; import {ChunkType} from 'sentry/types'; import Chunk from './chunk'; type Props = { chunks: Array; }; const Chunks = ({chunks}: Props) => ( {chunks.map((chunk, key) => cloneElement(, {key}))} ); export default Chunks; const ChunksSpan = styled('span')` span { display: inline; } `;