You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-05 15:22:09 +03:00
Consolidate TileShape into TimelineRenderingType (#7843)
This commit is contained in:
committed by
GitHub
parent
ca89d3b96e
commit
5f5bb4a4fe
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user