ProjectNameFormProps
Unpublished development API. This package is under development and is not available as a published release.
Controls a project name draft, save/cancel intents, pending and error feedback, and save-button availability.
import type { ProjectNameFormProps } from '@threadplane/react/chat';Declaration
export interface ProjectNameFormProps {
readonly className?: string;
readonly error?: string;
readonly label?: string;
readonly onCancel: () => void;
readonly onSubmit: () => void;
readonly onValueChange: (value: string) => void;
readonly pending?: boolean;
readonly submitDisabled?: boolean;
readonly submitLabel?: string;
readonly value: string;
}Members
className
readonly className?: string;error
readonly error?: string;label
readonly label?: string;onCancel
readonly onCancel: () => void;onSubmit
readonly onSubmit: () => void;onValueChange
readonly onValueChange: (value: string) => void;pending
readonly pending?: boolean;submitDisabled
readonly submitDisabled?: boolean;submitLabel
readonly submitLabel?: string;value
readonly value: string;