ita-social-projects / SpaceToStudy-Client

MIT License
24 stars 16 forks source link

Create CheckBox component for design system #2841

Closed nebby2105 closed 4 days ago

nebby2105 commented 1 week ago

2702

Created Checkbox component with the following configurable props:

  1. color (primary, secondary, success, error)
  2. variant (check, middle)
  3. label
  4. labelPosition (top, bottom, end)
  5. size (sm, md, lg)
  6. loading
  7. disabled

Default Parameters:

Color: primary Variant: check Size: md Label Position: end Loading: false Disabled: false

Default parameters:

Screenshot 2024-11-21 at 18 17 49

Color="success"

Screenshot 2024-11-21 at 18 16 50

Color="error"

Screenshot 2024-11-21 at 18 17 04

labelPosition="top"

Screenshot 2024-11-21 at 18 17 19

labelPosition="bottom"

Screenshot 2024-11-21 at 18 17 32
sonarcloud[bot] commented 4 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
98.6% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud