UNPKG

retro-react

Version:

A React component library for building retro-style websites

39 lines (38 loc) 1.95 kB
/// <reference types="react" /> import { InputSizes, InputVariants } from './Input'; export declare const Input: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme | undefined; as?: import("react").ElementType<any> | undefined; } & { $variant: InputVariants; $size: InputSizes; $multiline: boolean; }, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>; export declare const InputContainer: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme | undefined; as?: import("react").ElementType<any> | undefined; } & { $variant: InputVariants; $fullWidth: boolean; }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>; export declare const InputLabel: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme | undefined; as?: import("react").ElementType<any> | undefined; } & { $variant: InputVariants; $required: boolean; }, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>; export declare const InputHelperText: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme | undefined; as?: import("react").ElementType<any> | undefined; } & { $variant: InputVariants; $error: boolean; }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>; export declare const InputIcon: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme | undefined; as?: import("react").ElementType<any> | undefined; } & { $position: 'left' | 'right'; $variant: InputVariants; }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;