ita-social-projects / SpaceToStudy-Client

MIT License
24 stars 16 forks source link

Added reusable Switch Component according to design systems #2834

Closed amoutens closed 6 days ago

amoutens commented 1 week ago

Added switch aligned with design systems

Added optional props that include: label labelPosition size loading disabled

default: image

checked: image

hover: image

image

loading and disabled: image

label and label positions: image image image image

sizes change (medium by default): Large: image Small: image

Have some problems with disabled hover, please contact my tg @amoutens

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarQube Cloud

nebby2105 commented 1 week ago

It might be better to move the AppSwitch component to the design-system folder, along with its styles and stories