Skip to content

Use Moxy to implement IParentComponent #6

@StevenTCramer

Description

@StevenTCramer

use attribute like tw_parent

public interface IParentComponent
{
  [Parameter] public RenderFragment ChildContent { get; set; }
}
namespace TimeWarp.Architecture.Components;

public class ParentComponent : DisplayComponent, IParentComponent
{
  [Parameter] public RenderFragment ChildContent { get; set; }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions