Skip to content

Open-source, local-first AI agent for real work.

381 B
Raw Blame
import type { JSX } from "react";
import { TextPreview, type TextPreviewLabels } from "./TextPreview";

export interface WriteContentViewProps {
	content: string;
	label: string;
	labels: TextPreviewLabels;
}

export function WriteContentView({ content, label, labels }: WriteContentViewProps): JSX.Element {
	return <TextPreview label={label} text={content} labels={labels} />;
}