@britannica/ui
Version:
Consumer style system
10 lines (9 loc) • 351 B
TypeScript
import type { FC, HTMLAttributes, HTMLInputTypeAttribute, LegacyRef } from 'react';
export interface InputProps extends HTMLAttributes<HTMLInputElement> {
innerRef?: LegacyRef<HTMLInputElement>;
isInvalid?: boolean;
size?: 'sm' | 'lg' | 'xl';
type?: HTMLInputTypeAttribute;
}
declare const Input: FC<InputProps>;
export default Input;