hydrogen-web/src/domain/session/room/timeline/tiles/GapTile.js
2019-03-08 20:04:56 +01:00

13 lines
300 B
JavaScript

import SimpleTile from "./SimpleTile";
export default class GapTile extends SimpleTile {
constructor(entry, timeline) {
super(entry);
this._timeline = timeline;
}
// GapTile specific behaviour
fill() {
return this._timeline.fillGap(this._entry, 10);
}
}