2019-08-31 04:07:25 +05:00
|
|
|
import { Input as SemanticUIInput } from 'semantic-ui-react';
|
|
|
|
|
2019-11-15 03:45:59 +05:00
|
|
|
import InputPassword from './InputPassword';
|
|
|
|
import InputMask from './InputMask';
|
2019-08-31 04:07:25 +05:00
|
|
|
|
2022-12-26 22:51:17 +01:00
|
|
|
export default class Input extends SemanticUIInput {
|
|
|
|
static Password = InputPassword;
|
2019-08-31 04:07:25 +05:00
|
|
|
|
2022-12-26 22:51:17 +01:00
|
|
|
static Mask = InputMask;
|
2019-08-31 04:07:25 +05:00
|
|
|
|
2022-12-26 22:51:17 +01:00
|
|
|
focus = (options) => this.inputRef.current.focus(options);
|
2024-04-22 23:15:31 +02:00
|
|
|
|
|
|
|
blur = () => this.inputRef.current.blur();
|
2022-12-26 22:51:17 +01:00
|
|
|
}
|