Skip to content

Commit

Permalink
feat: Anchorを入れ忘れていた
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidetaro7 committed Oct 15, 2021
1 parent 3a1cd64 commit 0d690fa
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packages/tailwindcss/stories/BoxedTab.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,27 @@ import { Meta, Story, Canvas } from "@storybook/addon-docs";

## Stories

### Anchor

<Canvas>
<Story name="Anchor">
{`
<div class="boxed-tabs">
<div role="tablist" aria-label="Sample BoxedTabs">
<a href="#" role="tab" aria-selected="false" aria-controls="anchor-panel-1" id="anchor-tab-1" tabindex="0">ホーム</a>
<a href="#" role="tab" aria-selected="false" aria-controls="anchor-panel-2" id="anchor-tab-2" tabindex="0">タスク</a>
<a href="#" role="tab" aria-selected="true" aria-controls="anchor-panel-3" id="anchor-tab-3" tabindex="-1">実績</a>
<a href="#" role="tab" aria-selected="false" aria-controls="anchor-panel-4" id="anchor-tab-4" tabindex="0">会話</a>
</div>
</div>
<div role="tabpanel" id="anchor-panel-1" aria-labelledby="anchor-tab-1"></div>
<div role="tabpanel" id="anchor-panel-2" aria-labelledby="anchor-tab-2"></div>
<div role="tabpanel" id="anchor-panel-3" aria-labelledby="anchor-tab-3"></div>
<div role="tabpanel" id="anchor-panel-4" aria-labelledby="anchor-tab-4"></div>
`}
</Story>
</Canvas>

### Small

<Canvas>
Expand Down
10 changes: 10 additions & 0 deletions packages/tailwindcss/stories/Button.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ import { Meta, Story, Canvas } from "@storybook/addon-docs";

## Stories

### Anchor

<Canvas>
<Story name="Anchor">
{`
<a href="#" type="button" class="button">リンクボタン</a>
`}
</Story>
</Canvas>

### Long Text

<Canvas>
Expand Down

0 comments on commit 0d690fa

Please sign in to comment.