Skip to content

Commit

Permalink
Organize some stories for Blazing Story itself
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakamoto committed Feb 10, 2024
1 parent 641d1bf commit 9022e9b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
6 changes: 6 additions & 0 deletions BlazingStory.Stories/Shared/MarginedFrame.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@inherits LayoutComponentBase
@* See also: https://github.com/jsakamoto/BlazingStory#%EF%B8%8F-configure-layouts *@

<div style="position:relative; margin:20px;">
@Body
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@attribute [Stories("Internals/Components/Buttons/Actions/CornerButton")]
@attribute [Stories("Internals/Components/Buttons/CornerButton")]

<Stories TComponent="CornerButton" Layout="typeof(BorderedMarginedFrame)">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@attribute [Stories("Internals/Pages/Docs/CodeView")]

<Stories TComponent="CodeView">
<Stories TComponent="CodeView" Layout="typeof(MarginedFrame)">

<Story Name="Default">

Expand All @@ -10,10 +10,8 @@
</Arguments>

<Template>
<div class="frame">
<CodeView @attributes="context.Args">
</CodeView>
</div>
<CodeView @attributes="context.Args">
</CodeView>
</Template>

</Story>
Expand Down

This file was deleted.

0 comments on commit 9022e9b

Please sign in to comment.