@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
26 lines • 1.42 kB
TypeScript
import React from 'react';
import { IconProps } from '../icon/interfaces';
import { BaseComponentProps } from '../internal/base-component';
import { FormFieldValidationControlProps } from '../internal/context/form-field-context';
import { NonCancelableEventHandler } from '../internal/events';
import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
import { SkipWarnings } from '../internal/utils/with-native-attributes';
import { BaseChangeDetail, BaseInputProps, InputAutoCorrect, InputProps } from './interfaces';
export interface InternalInputProps extends BaseComponentProps, BaseInputProps, Omit<InputProps, 'type'>, InputAutoCorrect, FormFieldValidationControlProps, InternalBaseComponentProps {
type?: InputProps['type'] | 'visualSearch';
__leftIcon?: IconProps['name'];
__leftIconVariant?: IconProps['variant'];
__onLeftIconClick?: () => void;
__rightIcon?: IconProps['name'];
__onRightIconClick?: () => void;
__noBorderRadius?: boolean;
__onDelayedInput?: NonCancelableEventHandler<BaseChangeDetail>;
__onBlurWithDetail?: NonCancelableEventHandler<{
relatedTarget: Node | null;
}>;
__inheritFormFieldProps?: boolean;
__injectAnalyticsComponentMetadata?: boolean;
__skipNativeAttributesWarnings?: SkipWarnings;
}
declare const _default: React.ForwardRefExoticComponent<InternalInputProps & React.RefAttributes<HTMLInputElement>>;
export default _default;