reablocks
Version:
Component library for React
29 lines (27 loc) • 745 B
TypeScript
import { InputTheme } from '../InputTheme';
import { InputHTMLAttributes, FC, LegacyRef } from 'react';
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>;