Skip to content

Commit

Permalink
Added Breadcrumbs to story book
Browse files Browse the repository at this point in the history
  • Loading branch information
dyatlov-a committed Oct 5, 2024
1 parent 45e25cd commit 5189a3f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Inc.TeamAssistant.Stories/Components/Breadcrumbs.stories.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@attribute [Stories("Components/Breadcrumbs")]

<Stories TComponent="Breadcrumbs" Layout="typeof(LightLayout)">
<Story Name="Default">
<Template>
<Breadcrumbs Items="_items" @attributes="context.Args" />
</Template>
</Story>
</Stories>

@code {
private readonly IReadOnlyDictionary<string, string> _items = new Dictionary<string, string>
{
["AssessmentSession"] = string.Empty,
[DateTimeOffset.UtcNow.ToString("yyyy.MM.dd")] = string.Empty
};
}

0 comments on commit 5189a3f

Please sign in to comment.