fit-input
Version:
输入框
28 lines (27 loc) • 606 B
JSX
"use strict";
class Props {
constructor() {
this.label = '请输入内容';
this.highlight = false;
this.highlightLine = true;
this.rightRender = () => {
return null;
};
this.innerRender = () => {
return null;
};
this.textAlign = 'left';
this.validateMiddleware = () => {
return { ok: true };
};
this.disabled = false;
}
}
exports.Props = Props;
class State {
constructor() {
this.hasError = false;
this.errorMessage = '';
}
}
exports.State = State;