14 lines
226 B
JavaScript
14 lines
226 B
JavaScript
|
import Component from './component';
|
||
|
|
||
|
/**
|
||
|
* Component that host an input.
|
||
|
*/
|
||
|
export default class Input extends Component {
|
||
|
select() {
|
||
|
this.input.select();
|
||
|
}
|
||
|
focus() {
|
||
|
this.input.focus();
|
||
|
}
|
||
|
}
|