This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/src/domain/session/room/timeline/tiles/GapTile.js

14 lines
300 B
JavaScript
Raw Normal View History

2019-03-09 00:34:56 +05:30
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);
}
}