diff --git a/src/Blazor.Extensions.Canvas/BECanvasComponent.cs b/src/Blazor.Extensions.Canvas/BECanvasComponent.cs index 7871bf4..0379636 100644 --- a/src/Blazor.Extensions.Canvas/BECanvasComponent.cs +++ b/src/Blazor.Extensions.Canvas/BECanvasComponent.cs @@ -12,7 +12,7 @@ public class BECanvasComponent : ComponentBase [Parameter] public long Width { get; set; } - protected readonly string Id = Guid.NewGuid().ToString(); + public readonly string Id = Guid.NewGuid().ToString(); protected ElementReference _canvasRef; internal ElementReference CanvasReference => this._canvasRef;