@lunalytics/ui
Version:
React based component library created to be used in Lunalytics
13 lines (12 loc) • 379 B
TypeScript
export interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
id?: string;
title?: string;
error?: string;
subtitle?: string;
type?: React.InputHTMLAttributes<HTMLInputElement>['type'];
iconLeft?: React.ReactNode;
iconRight?: React.ReactNode;
isRequired?: boolean;
tabIndex?: number;
containerClassName?: string;
}