Skip to content

Open/close paradigm in Stitches (React) #1128

Answered by wolffbruno
erasebegin asked this question in Help
Discussion options

You must be logged in to vote

Boolean variant can't help you?

`const Button = styled('button', {
// base styles

variants: {
outlined: {
true: {
borderColor: 'lightgray',
},
},
},
});

() => Button;`

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@erasebegin
Comment options

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