Fix Icon prop warning

This commit is contained in:
Jori Lallo
2017-09-11 00:15:27 -07:00
parent 2fc0aee1b7
commit c44c25b53e

View File

@ -15,7 +15,7 @@ type Props = {
innerRef?: Function,
};
const StyledStar = styled(Icon).attrs({
const StyledStar = styled(({ solid, ...props }) => <Icon {...props} />).attrs({
type: 'Star',
color: color.text,
})`