// Copyright (c) Rodel. All rights reserved.
// <auto-generated />

using Microsoft.UI.Xaml.Documents;

namespace BiliCopilot.UI.Controls.Markdown.TextElements;

internal class MyInlineText : IAddChild
{
    private Run _run;

    public TextElement TextElement => _run;

    public MyInlineText(string text)
    {
        _run = new Run()
        {
            Text = text,
        };
    }

    public void AddChild(IAddChild child)
    {
    }
}
