import Icon from '../../icon'; import Input from '..'; import React from 'react'; import ReactDOM from 'react-dom'; interface PageStates { v: any; } class App extends React.Component<{}, PageStates> { onChange: (v: any) => void; onClick: () => void; constructor(props) { super(props); this.state = { v: '', }; this.onChange = v => { this.setState({ v, }); }; this.onClick = () => { console.log(this.state.v); }; } render() { return (