@navikt/ds-react
Version:
React components from the Norwegian Labour and Welfare Administration.
10 lines (9 loc) • 505 B
TypeScript
import React, { InputHTMLAttributes } from "react";
interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "disabled" | "onClick" | "onInput" | "type" | "role" | "onKeyUp" | "onKeyDown" | "autoComplete"> {
ref: React.Ref<HTMLInputElement>;
inputClassName?: string;
shouldShowSelectedOptions?: boolean;
value?: string;
}
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
export default Input;