Received `true` for a non-boolean attribute `loading`.
quintmouthaan opened this issue · comments
Quint Mouthaan commented
Brad Adams commented
I'm pretty sure this is because loading
is a valid html5 attribute, so styled-components is probably whitelisting it.
We could rename the property to isLoading
@Kikobeats
Kiko Beats commented
More than that, we can destructuring the value and avoid pass it to children