web UI
This commit is contained in:
12
VisionBuilder.UI.Blazor/Components/PreviewWindow.razor
Normal file
12
VisionBuilder.UI.Blazor/Components/PreviewWindow.razor
Normal file
@@ -0,0 +1,12 @@
|
||||
@implements IDisposable
|
||||
|
||||
<div class="preview-window @(_isError ? "preview-error" : "")">
|
||||
@if (!string.IsNullOrEmpty(_dataUri))
|
||||
{
|
||||
<img src="@_dataUri" alt="Preview" class="preview-image" />
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="preview-placeholder">No image</div>
|
||||
}
|
||||
</div>
|
||||
Reference in New Issue
Block a user