import React from 'react'; import { MDCTextFieldIconAdapter } from '@material/textfield/icon/adapter'; import { MDCTextFieldIconFoundation } from '@material/textfield/icon/foundation'; export interface IconProps extends React.HTMLProps { disabled?: boolean; children: React.ReactElement>; onSelect?: () => void; } interface IconState { tabindex?: number; role?: string; } export default class Icon extends React.Component { foundation: MDCTextFieldIconFoundation; static defaultProps: Partial; constructor(props: IconProps); componentDidMount(): void; componentDidUpdate(prevProps: IconProps): void; componentWillUnmount(): void; readonly tabindex: any; readonly adapter: MDCTextFieldIconAdapter; handleClick: (e: React.MouseEvent) => void; handleKeyDown: (e: React.KeyboardEvent) => void; addIconAttrsToChildren: () => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; render(): React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; } export {};