Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change docs, storybook for disabled button #19

Merged
merged 3 commits into from
Feb 12, 2024
Merged

Conversation

emi420
Copy link
Collaborator

@emi420 emi420 commented Feb 12, 2024

For the disabled Button the correct way to use the property is:

<hot-button disabled>

Instead of:

<hot-button disabled="true">

Because anything inside the argument's value will result in a "True" value (because it's a string).

I modified the README.md file with this change and also added the property to the component's story, because it wasn't working when using the "disabled" switch.

@github-actions github-actions bot added documentation Improvements or additions to documentation dependency labels Feb 12, 2024
@JoltCode
Copy link
Collaborator

Ah perfect, thanks Emi! LGTM! 👍

Copy link
Collaborator

@JoltCode JoltCode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@JoltCode JoltCode merged commit 8e63077 into main Feb 12, 2024
2 checks passed
@spwoodcock spwoodcock deleted the fix/disabled-button branch February 12, 2024 18:48
@spwoodcock
Copy link
Member

Nice, thanks!

I think you might have autoformatting turned on in your IDE by the way - watch out it doesn't conflict with the configured pre-commit hooks.

To keep consistent, install the pre-commit hooks:

pip install pre-commit
pre-commit install

@emi420
Copy link
Collaborator Author

emi420 commented Feb 12, 2024

Oh yes @spwoodcock I might be the case! , for the .github/ISSUE_TEMPLATE/feature_request.md file I made the change manually because the test was failing. But for the tsconfig.json it was changed automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency devops documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants