mirror of
https://github.com/dnwSilver/tld.git
synced 2024-11-25 16:42:07 +00:00
19 lines
371 B
C#
19 lines
371 B
C#
using TUI.Engine.Attributes;
|
|
using TUI.Engine.Components;
|
|
|
|
namespace TUI.Engine.Tests.Stubs;
|
|
|
|
public class TestComponent : ComponentBase
|
|
{
|
|
private string _content = "Lorem";
|
|
|
|
public void SetContent(string content)
|
|
{
|
|
_content = content;
|
|
}
|
|
|
|
protected override Sketch DrawComponent(Size minSize)
|
|
{
|
|
return new Sketch(_content);
|
|
}
|
|
} |