mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
Bugfix and cleanup rollup based javascript even more
This commit is contained in:
parent
7ccc44616d
commit
3983932bc0
17 changed files with 84 additions and 169 deletions
|
|
@ -1,18 +1,13 @@
|
|||
import { componentExportHelper } from 'Component/Abstract';
|
||||
import { AbstractInput } from 'Component/AbstractInput';
|
||||
|
||||
const DEFAULT_ROWS = 5;
|
||||
|
||||
class TextAreaComponent extends AbstractInput {
|
||||
export class TextAreaComponent extends AbstractInput {
|
||||
/**
|
||||
* @param {Object} params
|
||||
*/
|
||||
constructor(params) {
|
||||
super(params);
|
||||
|
||||
this.rows = params.rows || DEFAULT_ROWS;
|
||||
this.rows = params.rows || 5;
|
||||
this.spellcheck = !!params.spellcheck;
|
||||
}
|
||||
}
|
||||
|
||||
export default componentExportHelper(TextAreaComponent, 'TextAreaComponent');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue