ant-design-blazor/site/AntDesign.Docs/Shared/DemoCard.razor
2021-02-06 20:15:46 +08:00

23 lines
684 B
C#

<div class="code-box" id="components-@id">
<section class="code-box-demo">
@Demo
</section>
<section class="code-box-meta markdown">
<div class="code-box-title">
@Title
</div>
<div class="code-box-description">
<Markdown>@Description</Markdown>
</div>
</section>
</div>
<PlainText>@Styles</PlainText>
@code {
[Parameter] public string id { get; set; }
[Parameter] public RenderFragment Demo { get; set; }
[Parameter] public RenderFragment Title { get; set; }
[Parameter] public RenderFragment Description { get; set; }
[Parameter] public RenderFragment Styles { get; set; }
}