hydrogen-web/src/platform
Bruno Windels 5445db2a42 allow injecting the tilesCreator from the Root/Session/RoomViewModel
this changes the API slightly to be more future-proof,
as we'll expose it in the SDK now.

The function now returns a SimpleTile constructor, rather than an
instance. This allows us to test if an entry would render in the
timeline without creating a tile, which is something we might want in
the matrix layer later on.

The function is now called tileClassForEntry, analogue to what we
do in TimelineView.
2022-04-08 12:52:30 +02:00
..
types Merge branch 'master' into bwindels/create-room 2022-02-10 20:05:40 +01:00
web allow injecting the tilesCreator from the Root/Session/RoomViewModel 2022-04-08 12:52:30 +02:00