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

feat!: add button atomic component #4

Merged
merged 5 commits into from
Sep 24, 2024
Merged

feat!: add button atomic component #4

merged 5 commits into from
Sep 24, 2024

Conversation

ishaan000
Copy link
Collaborator

This PR is for the Button atomic component :

  • Added Button.tsx and Button.types.d.ts
  • Added test for button

@ishaan000 ishaan000 added enhancement New feature or request components Related to React components feature Related to new feature labels Sep 18, 2024
@ishaan000 ishaan000 requested a review from hiyaryan September 18, 2024 22:46
@ishaan000 ishaan000 self-assigned this Sep 18, 2024
- Added Button.tsx and Button.types.d.ts.
  - Wrapped MuiButton in new Button component.
- Added test suite for button, Button.test.tsx.
@ishaan000 ishaan000 changed the title Created atomic component for button. feat!: add button atomic component Sep 19, 2024
ishaan000 and others added 4 commits September 19, 2024 17:24
- Added aria-label and tabIndex to Button.tsx and Button.types.d.ts.
- Added accessibility tests in button test suite.
- Adds sx prop to make Button customizable.
- Added test in Button to ensure sx prop is contained in Button.
Copy link
Member

@hiyaryan hiyaryan left a comment

Choose a reason for hiding this comment

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

Everything looks great! I just merged it with main. We need to make sure our PRs are always up to date with main. Otherwise, great work and great unit tests! 🚀

@hiyaryan hiyaryan merged commit e6b4226 into main Sep 24, 2024
1 check passed
@hiyaryan hiyaryan deleted the 4-atom-button branch September 24, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
components Related to React components enhancement New feature or request feature Related to new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants