diff options
Diffstat (limited to 'MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor')
-rw-r--r-- | MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor b/MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor new file mode 100644 index 0000000..f78bdc9 --- /dev/null +++ b/MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor @@ -0,0 +1,21 @@ +@using MatrixRoomUtils.Core.Extensions +<div> + + <details style="display: inline;"> + <summary> + <i style="color: red;"> + Unknown event type: <pre style="display: inline;">@Event.Type</pre> + </i> + </summary> + <pre> + @Event.ToJson() + </pre> + </details> +</div> + +@code { + + [Parameter] + public StateEvent Event { get; set; } + +} \ No newline at end of file |