Skip to main content

PreferenceInput

const PreferenceInput: React.FC<{
className?: string;
confirmLabel?: string;
denyAlertText?: string;
denyLabel?: string;
errorText?: string;
hasError?: boolean;
id?: string;
initialValue?: string;
isConfirmDisabled?: boolean;
isEditing?: boolean;
isReadOnly?: boolean;
label: string;
labelEnhanceEnd?: React.ReactNode;
modifyLabel?: string;
name: string;
onChange?: (e) => void;
onConfirm?: (value?) => void;
onEditingStateChange?: (isEditing) => void;
overrideInputValue?: string;
placeholder?: string;
shouldShowDenyAlert?: boolean;
type?: "text" | "password" | "number" | "email" | "tel" | "url";
}>;