Fix Icon prop warning
This commit is contained in:
@ -15,7 +15,7 @@ type Props = {
|
|||||||
innerRef?: Function,
|
innerRef?: Function,
|
||||||
};
|
};
|
||||||
|
|
||||||
const StyledStar = styled(Icon).attrs({
|
const StyledStar = styled(({ solid, ...props }) => <Icon {...props} />).attrs({
|
||||||
type: 'Star',
|
type: 'Star',
|
||||||
color: color.text,
|
color: color.text,
|
||||||
})`
|
})`
|
||||||
|
Reference in New Issue
Block a user