'use client' import type { FC } from 'react' import React from 'react' import { SliceContent } from '../../formatted-text/flavours/shared' import Score from './score' import type { HitTestingChildChunk } from '@/models/datasets' type Props = { payload: HitTestingChildChunk isShowAll: boolean } const ChildChunks: FC = ({ payload, isShowAll, }) => { const { score, content, position } = payload return (
C-{position}
{content}
) } export default React.memo(ChildChunks)