Repository navigation
feat(UI): implement ToggleButton component - #48567
Conversation
|
👀 Review this PR in a CodeSee Review Map |
b39cdc9 to
1e29ee4
Compare
14f633c to
5e2f87f
Compare
There was a problem hiding this comment.
Hi @rajgaur98, thank you for your patience. The current tests are falling because of the changes in the package-lock files.
You can revert the changes, and use npm i -w=tools/ui-components package_name @headlessui/react @headlessui/tailwindcss to add the packages without too many noises and failed test
Thanks for reviewing @Sboonny . I have updated the code. |
Sboonny
left a comment
There was a problem hiding this comment.
Nicely done. Small issues:
- Trim of space
- missing prop
|
Thanks for the hard work here. Here are a few guidelines for this implementation:
|
Thanks @ahmadabdolsaheb , 1) for example, do you mean that
|
Yeab 👍 |
|
|
We are officially on Node.js 18 now. We have changed the merge requirements accordingly. You will need to rebase this PR against the main branch OR Click the "Update branch" button to get the new checks going. Thanks for your contribution. |
Sboonny
left a comment
There was a problem hiding this comment.
✨ 🎉 AWESOME! 🎉 ✨
Hi @rajgaur98, thanks for this pull request and for contributing to the code-base for the first time. We are looking forward to more contributions from you in the future.
Cheers & happy contributing!
Thanks for reviewing @Sboonny and team! |
|
Thank you for the detailed pr. Looking forward to see how this component will interact with the FormGroupGroup to replicate the react-bootstrap component usage in our repository. |
|
Thanks for making the modifications. All good. Just make sure the tests pass and you include ToggleButton in https://github.com/freeCodeCamp/freeCodeCamp/blob/0757ee602416e25a6a363d60d6221450132ae2d9/tools/ui-components/src/index.ts#L6 |
…fix text style bug
…pes to toggle function buttons
|
@rajgaur98 thanks to you we have a toggle button. |
Thanks, I will be taking on ToggleButtonGroup and looking out for other issues. |
|
Hi @rajgaur98 I am pinging, because you are taking toggleButtonGroup, wait until this PR is sorted #49664, because you may not need to add it, and toggleButton can be enough. |

Checklist:
Update index.md)mainbranch of freeCodeCamp.Closes #48424