UNPKG

@yandex/ui

Version:

Yandex UI components

17 lines (16 loc) 784 B
import { ReactElement } from 'react'; import { IIconProps } from '../../Icon/Icon'; import './Textinput-Icon.css'; import './_side/Textinput-Icon_side_left.css'; import './_side/Textinput-Icon_side_right.css'; export interface ITextinputIconProps { /** * Компонент иконки для отображения. */ component: ReactElement<IIconProps>; /** * Расположение иконки. */ side?: 'left' | 'right'; } export declare const TextinputIcon: ({ component, side, ...props }: ITextinputIconProps) => ReactElement<IIconProps, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>;