Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

639 B
Raw Blame
import type { RichTextFieldProps } from "@/features/write/rich-text-field";
import { RichTextField } from "@/features/write/rich-text-field";

export { RichTextToolbar as LetterRichTextToolbar } from "@/features/write/rich-text-field";

type LetterRichTextProps = Omit<RichTextFieldProps, "letter"> & {
	applicationId?: string | null | undefined;
};

/** Letters share selection, reviewed replacement and native HTML/history ownership with resume fields. */
export function LetterRichText({ applicationId, ...props }: LetterRichTextProps) {
	return <RichTextField {...props} minLines={props.minLines ?? 8} letter={{ applicationId }} />;
}