import type { FC, PropsWithChildren } from 'react' import Image from 'next/image' import SelectionMod from './assets/selection-mod-nocolor.svg' import type { QA } from '@/models/datasets' export type ChunkLabelProps = { label: string characterCount: number } export const ChunkLabel: FC = (props) => { const { label, characterCount } = props return
Selection Mod

{label} ยท {`${characterCount} characters`}

} export type ChunkContainerProps = ChunkLabelProps & PropsWithChildren export const ChunkContainer: FC = (props) => { const { label, characterCount, children } = props return

{children}

} export type QAPreviewProps = { qa: QA } export const QAPreview: FC = (props) => { const { qa } = props return

{qa.question}

{qa.answer}

}