RootCauseunvalidated
In styled-components, props prefixed with `$` are treated as transient props and are not forwarded to the underlying React DOM/component. As a result, `$hasIcon` is not passed through to the `styled.button` that reads it for styling.
954e571d-017c-4d87-a8ba-3cfbbe733b22
In styled-components, props prefixed with $ are treated as transient props and are not forwarded to the underlying React DOM/component. As a result, $hasIcon is not passed through to the styled.button that reads it for styling.