UNPKG

@openhands/ui

Version:
11 lines (10 loc) 553 B
import { ReactElement } from 'react'; import { BaseProps, HTMLProps } from '../../shared/types'; export type InputProps = Omit<HTMLProps<"input">, "label" | "aria-invalid" | "checked"> & { label: string; start?: ReactElement<HTMLProps<"svg">>; end?: ReactElement<HTMLProps<"svg">>; error?: string; hint?: string; } & BaseProps; export declare const Input: ({ className, label, id: propId, disabled, value, onChange, start, end, error, type, hint, readOnly, testId, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;