Consolidate TileShape into TimelineRenderingType (#7843)
This commit is contained in:
parent
ca89d3b96e
commit
5f5bb4a4fe
21 changed files with 174 additions and 154 deletions
|
@ -39,7 +39,7 @@ import { Action } from '../../dispatcher/actions';
|
|||
import { Key } from '../../Keyboard';
|
||||
import Timer from '../../utils/Timer';
|
||||
import shouldHideEvent from '../../shouldHideEvent';
|
||||
import { haveTileForEvent, TileShape } from "../views/rooms/EventTile";
|
||||
import { haveTileForEvent } from "../views/rooms/EventTile";
|
||||
import { UIFeature } from "../../settings/UIFeature";
|
||||
import { replaceableComponent } from "../../utils/replaceableComponent";
|
||||
import { arrayFastClone } from "../../utils/arrays";
|
||||
|
@ -103,9 +103,6 @@ interface IProps {
|
|||
// classname to use for the messagepanel
|
||||
className?: string;
|
||||
|
||||
// shape property to be passed to EventTiles
|
||||
tileShape?: TileShape;
|
||||
|
||||
// placeholder to use if the timeline is empty
|
||||
empty?: ReactNode;
|
||||
|
||||
|
@ -1644,7 +1641,6 @@ class TimelinePanel extends React.Component<IProps, IState> {
|
|||
this.state.alwaysShowTimestamps
|
||||
}
|
||||
className={this.props.className}
|
||||
tileShape={this.props.tileShape}
|
||||
resizeNotifier={this.props.resizeNotifier}
|
||||
getRelationsForEvent={this.getRelationsForEvent}
|
||||
editState={this.props.editState}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue