@hhgtech/hhg-components
Version:
Hello Health Group common components
28 lines (27 loc) • 1.47 kB
TypeScript
/// <reference types="react" />
export declare const StyledPureInput: import("@emotion/styled").StyledComponent<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "onChange" | "size" | "ref" | "autoComplete" | "type" | "enterKeyHint"> & import("../pureInput").CustomInputProps & import("react").RefAttributes<HTMLInputElement> & {
theme?: import("@emotion/react").Theme;
}, {}, {}>;
export declare const StyledTextField: import("@emotion/styled").StyledComponent<{
value: string;
name: string;
size: "sm" | "md" | "lg";
readOnly?: boolean;
isNumerousKeyboard?: boolean;
autoComplete?: "on" | "off";
errorMessage?: string;
showErrorMessage?: boolean;
actionIcon?: JSX.Element;
onActionClick?: () => void;
displayIcon?: JSX.Element;
label?: string | JSX.Element;
onChange?: (v: string) => void;
isDisabled?: boolean;
CustomInput?: JSX.Element;
type?: "number" | "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
inputClassName?: string;
trackingAttributes?: import("../../../care/components/organisms/bookingSearchBar/types").GATrackingCode;
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send";
} & Omit<import("react").HTMLAttributes<HTMLInputElement>, "value" | "onChange" | "name"> & {
theme?: import("@emotion/react").Theme;
}, {}, {}>;