Skip to content

How do we use booleans in Storybook with Lit? #65

Answered by damontgomery
damontgomery asked this question in Q&A
Discussion options

You must be logged in to vote

:( & :)

I swear we tried ?shouldShowIcon="${shouldShowIcon}" several times and it wasn't doing what we expected in Storybook, but now it seems to work as expected.

I think this is the solution for booleans.

Replies: 1 comment 1 reply

Comment options

damontgomery
Jul 19, 2021
Collaborator Author

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

damontgomery Oct 20, 2021
Collaborator Author

Answer selected by damontgomery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant