import type { PropsWithChildren } from 'react'; export interface Props { value: { image: { data: Uint8Array; extension: string; filename: string; } | null; altText: string; }; } export default function ShowableFigureView({ value: { altText, image }, children, }: PropsWithChildren) { return (
{altText} {children}
); }