Patch Changes
-
3269b41: Fix extractor issue where we didn't explore both branches when using a default value as the condition
expressionIn the example below, only the
yellow
color would be generated although theblue
color should also be generated in
case thedisabled
prop istrue
.const CompB = ({ disabled = false }: { disabled: boolean }) => { return <div className={css({ color: disabled ? 'blue' : 'yellow' })}>Component B is disabled</div> }