Our Checkbox component had some types that were actually conflicting with the current story args, but I noticed when importing it into another app that checkboxColor is a required prop when it shouldn't be.
The checkboxColor is inferred in the main component & passed down to an emotion component, where it is required. The main component inferred styles from the emotion component, hence the requirement, but I am choosing to omit the checkboxColor in the main component's styles now to avoid this issue.
Our Checkbox component had some types that were actually conflicting with the current story args, but I noticed when importing it into another app that
checkboxColor
is a required prop when it shouldn't be.The
checkboxColor
is inferred in the main component & passed down to an emotion component, where it is required. The main component inferred styles from the emotion component, hence the requirement, but I am choosing to omit thecheckboxColor
in the main component's styles now to avoid this issue.