Level Up Your Blazor Components with Templates
In my post about creating Blazor components, we went over how to create a simple Button component:
<button @onclick="OnClick" @attributes="Attributes">
@Text
</button>
@code {
[Parameter]
public string Text { get; set; } = "Click me";
...
ryanphillips.hashnode.dev3 min read