@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
46 lines (45 loc) • 2.04 kB
TypeScript
import React from 'react';
import { AUTOCOMPLETE_TYPE } from './types/input';
export declare const InputStandAlone: React.ForwardRefExoticComponent<import("./types/input").IInputComponents & {
state: import("./types/inputTheme").InputState;
styles: import("./types/input").InputStylesProps;
value?: string | number;
name?: string;
id?: string;
type?: import("./types").InputTypeType;
truncate?: boolean;
disabledArrowUpDownInputNumber?: boolean;
placeholder?: string;
spellCheck?: boolean;
autocomplete?: AUTOCOMPLETE_TYPE;
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | import("./types/input").AUTOCAPITALIZE_TYPE;
disabledCopyAndPaste?: boolean;
disabledWheelMouse?: boolean;
maxLength?: number;
minLength?: number;
min?: number;
max?: number;
ignoreKeys?: string[];
inputMode?: import("../..").InputModeType;
formatNumber?: import("./types/input").FormatNumber;
leftContent?: string | JSX.Element;
leftExtraStyles?: import("styled-components").CSSProp;
rightContent?: string | JSX.Element;
rightExtraStyles?: import("styled-components").CSSProp;
topExtraStyles?: import("styled-components").CSSProp;
bottomExtraStyles?: import("styled-components").CSSProp;
centerExtraStyles?: import("styled-components").CSSProp;
dataTestId?: string;
extraAriaLabelledBy?: string;
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
role?: import("../..").ROLES;
mask?: string;
maskType?: import("./types/input").MASK_TYPE;
locale?: string;
onFocus?: React.FocusEventHandler<HTMLInputElement>;
onBlur?: React.FocusEventHandler<HTMLInputElement>;
onChange?: React.ChangeEventHandler<HTMLInputElement>;
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
onClick?: React.MouseEventHandler<HTMLInputElement>;
onPaste?: React.ClipboardEventHandler<HTMLInputElement>;
} & React.RefAttributes<unknown>>;