You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a reusable Switch component that meets the design system standards. This component will be used throughout the application to maintain consistency in switch styles, behavior, and accessibility.
Description:
Implement a reusable
Switch
component that meets the design system standards. This component will be used throughout the application to maintain consistency in switch styles, behavior, and accessibility.Figma
Requirements:
Styles:
Props:
label
: Provide a label for the switch.labelPosition
: Supports different positions (bottom, top, end)size
: Supports different sizes (sm, md, lg).loading
: Disables the switch when true. When loading, the switch shouldn't shrink or change its size compared to its default statedisabled
: Disables the switch when true.Don't forget to cover component with tests and add to the storybook
The text was updated successfully, but these errors were encountered: