Open dovletmamenov opened 1 year ago
Is it possible to add example blazor app to show how to use your component?
I tried to do steps from readme file but this part does not allow me to compile the code:
Create Backing Element Reference In Example.razor.cs File:
using Texnomic.Blazor.JsonViewer;
protected JsonViewer JsonViewerInstance { get; set; }
protected async ValueTask Example(string Json) { await JsonViewerInstance.Render(Json); }
I get error saying Example method can not exist in the class with the same name
Is it possible to add example blazor app to show how to use your component?
I tried to do steps from readme file but this part does not allow me to compile the code:
Create Backing Element Reference In Example.razor.cs File:
using Texnomic.Blazor.JsonViewer;
protected JsonViewer JsonViewerInstance { get; set; }
protected async ValueTask Example(string Json) { await JsonViewerInstance.Render(Json); }
I get error saying Example method can not exist in the class with the same name