react-antd-admin-panel
Version:
Easy prototyping admin panel using React and Antd
32 lines • 682 B
JavaScript
import Default from "./Default";
export default class Space extends Default {
constructor() {
super('Space');
this._border = 0;
this._bottom = 0;
this._right = 0;
this._left = 0;
this._top = 0;
}
top(value) {
this._top = value;
return this;
}
left(value) {
this._left = value;
return this;
}
right(value) {
this._right = value;
return this;
}
bottom(value) {
this._bottom = value;
return this;
}
border() {
this._border = 1;
return this;
}
}
//# sourceMappingURL=Space.js.map