reablocks
Version:
Component library for React
28 lines (27 loc) • 744 B
TypeScript
import { InputHTMLAttributes, FC, LegacyRef } from 'react';
import { InputTheme } from '../InputTheme';
export interface InlineInputProps extends InputHTMLAttributes<HTMLInputElement> {
/**
* Additional className for the input container
*/
className?: string;
/**
* Additional width for input element
*/
extraWidth?: number | string;
/**
* Additional className for the input element
*/
inputClassName?: string;
/**
* Theme for the InlineInput.
*/
theme?: InputTheme;
}
export interface InlineInputRef {
/**
* Reference to the input element.
*/
ref?: LegacyRef<HTMLInputElement>;
}
export declare const InlineInput: FC<InlineInputProps & InlineInputRef>;