UNPKG

@procore/core-react

Version:
13 lines (12 loc) 651 B
/// <reference types="react" /> import type { Interpolation } from 'styled-components'; export declare type InputStylesProps = { $error?: boolean; $variant?: 'error' | ''; }; export declare const dataQa: { focused: string; hovered: string; }; export declare function getInputStyles({ $error, $variant, }: InputStylesProps): Interpolation<object>; export declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, InputStylesProps>> & string;