Convert TextOnlyComponent to Razor format

This commit is contained in:
Steve Sanderson 2018-01-16 12:36:10 +00:00
parent 80b371c647
commit 5aa6ccaff7
2 changed files with 1 additions and 16 deletions

View File

@ -1,16 +0,0 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Components;
using Microsoft.Blazor.RenderTree;
namespace BasicTestApp
{
public class TextOnlyComponent : IComponent
{
public void BuildRenderTree(RenderTreeBuilder builder)
{
builder.AddText($"Hello from {nameof(TextOnlyComponent)}");
}
}
}

View File

@ -0,0 +1 @@
Hello from TextOnlyComponent