Simplified writing style
This commit is contained in:
Родитель
593af18e9c
Коммит
44ce256b0c
|
@ -87,10 +87,7 @@
|
|||
{
|
||||
<div class="ant-tabs-content-holder ">
|
||||
<div class="@_contentClassMapper.Class">
|
||||
@foreach (var pane in _tabs)
|
||||
{
|
||||
@pane.RenderPane
|
||||
}
|
||||
@RenderTabPanels
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
|
|
@ -1,7 +1,25 @@
|
|||
@page "/"
|
||||
@attribute [ReuseTabsPage(Title = "Home", Pin = true)]
|
||||
<h1>Hello, world!</h1>
|
||||
<Card>
|
||||
<Tabs>
|
||||
<TabPane Key="A" Tab="A">
|
||||
<Checkbox>A1</Checkbox>
|
||||
</TabPane>
|
||||
<TabPane Key="B" Tab="B">
|
||||
<Checkbox>B1</Checkbox>
|
||||
</TabPane>
|
||||
</Tabs>
|
||||
</Card>
|
||||
|
||||
<Tabs>
|
||||
<TabPane Key="C" Tab="C">
|
||||
<Checkbox>C1</Checkbox>
|
||||
</TabPane>
|
||||
<TabPane Key="D" Tab="D">
|
||||
<Checkbox>D1</Checkbox>
|
||||
</TabPane>
|
||||
</Tabs>
|
||||
Welcome to your new app.
|
||||
|
||||
<SurveyPrompt Title="How is Blazor working for you?" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче