UNPKG

ygd

Version:

An enterprise-class UI design language and React-based implementation

12 lines (11 loc) 526 B
import * as React from 'react'; export interface InputElementProps { children: React.ReactElement<any>; } export default class InputElement extends React.Component<InputElementProps, any> { private ele; focus: () => void; blur: () => void; saveRef: (ele: HTMLInputElement) => void; render(): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>; }