@navinc/base-react-components
Version:
Nav's Pattern Library
47 lines (46 loc) • 1.66 kB
TypeScript
export function capitalizeString(string?: string): string;
export function InputField({ autoFocus, children, className, label, hasSpaceForErrors, helperIcon, helperLinkAction, helperText, isInvalid, isStatic, value, required, type, errors, lede, touched, placeholder, passwordStrengthScore, requiredPasswordScore, ...props }: {
[x: string]: any;
autoFocus: any;
children: any;
className: any;
label?: string | undefined;
hasSpaceForErrors: any;
helperIcon: any;
helperLinkAction: any;
helperText: any;
isInvalid: any;
isStatic: any;
value: any;
required: any;
type: any;
errors?: any[] | undefined;
lede?: string | undefined;
touched: any;
placeholder: any;
passwordStrengthScore: any;
requiredPasswordScore: any;
}): JSX.Element;
export default StyledInput;
declare const StyledInput: import("styled-components").StyledComponent<({ autoFocus, children, className, label, hasSpaceForErrors, helperIcon, helperLinkAction, helperText, isInvalid, isStatic, value, required, type, errors, lede, touched, placeholder, passwordStrengthScore, requiredPasswordScore, ...props }: {
[x: string]: any;
autoFocus: any;
children: any;
className: any;
label?: string | undefined;
hasSpaceForErrors: any;
helperIcon: any;
helperLinkAction: any;
helperText: any;
isInvalid: any;
isStatic: any;
value: any;
required: any;
type: any;
errors?: any[] | undefined;
lede?: string | undefined;
touched: any;
placeholder: any;
passwordStrengthScore: any;
requiredPasswordScore: any;
}) => JSX.Element, any, {}, never>;