Skip to content

Commit

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

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

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

const DisabledTemplate = ({ label }) => {
return `
<button type="button" disabled class="outlined-button">${label}</button>
Expand Down

0 comments on commit 347a8e1

Please sign in to comment.