Skip to content

Commit

Permalink
Change docs, storybook for disabled button
Browse files Browse the repository at this point in the history
  • Loading branch information
emi420 committed Feb 12, 2024
1 parent 4f8cb37 commit 30b93d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pnpm install @hotosm/ui
/>
<div>
<hot-button disabled="true"> </hot-button>
<hot-button disabled> </hot-button>
</div>
```
Expand Down
2 changes: 1 addition & 1 deletion src/button/Button.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ export const Template: StoryObj = {
},
},
render: (args) =>
html`<hot-button intent=${args.intent}>${args.children}</hot-button>`,
html`<hot-button ?disabled=${args.disabled}>${args.children}</hot-button>`,
};

0 comments on commit 30b93d2

Please sign in to comment.