Skip to content

Email for professionals and teams

399 B
Raw Blame
export type RecipientInputProps = {
	id: string;
	label: string;
	value: string[];
	onChange: (next: string[]) => void;
	placeholder?: string;
	disabled?: boolean;
	required?: boolean;
	/** Focus the field when it first appears, e.g. after the Cc/Bcc toggle reveals it. */
	autoFocus?: boolean;
	/** Rendered at the right edge of the row, e.g. the Cc/Bcc toggles. */
	trailing?: React.ReactNode;
};