Skip to content

Switch control has give rounded edges #3157

Answered by SiTaggart
jeevan-sg asked this question in General
Discussion options

You must be logged in to vote

Hi @jeevan-sg

It's still likely to be a dependency problem. A component depends on a lot of other packages, so if you opt out of Core and grab an individual package you are opting into managing those dependencies.

You can see from the package JSON for this component to work you need all the minimum supported versions of all the other packages it depends on https://github.com/twilio-labs/paste/blob/main/packages/paste-core/components/switch/package.json#L26

"peerDependencies": {
    "@twilio-paste/animation-library": "^1.0.0",
    "@twilio-paste/box": "^9.0.0",
    "@twilio-paste/color-contrast-utils": "^4.0.0",
    "@twilio-paste/customization": "^7.0.0",
    "@twilio-paste/design-tokens"…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jeevan-sg
Comment options

Answer selected by serifluous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants