Skip to content

Commit

Permalink
feat: buttonにaタグを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidetaro7 committed Oct 13, 2021
1 parent d2c592d commit b83a512
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/tailwindcss/stories/Button.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ Default.args = {
label: "ボタン",
};

const AnchorTemplate = () => {
return `<a href="#" class="button">リンクボタン</a>`;
};

export const Anchor = AnchorTemplate.bind({});

const LongTextTemplate = () => {
return `<button type="button" class="button">利用規約に同意して登録</button>`;
};
Expand Down

0 comments on commit b83a512

Please sign in to comment.