File size: 392 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import { Gridicon } from '@automattic/components';
import PropTypes from 'prop-types';
const LikeIcons = ( { size } ) => (
<span className="like-button__like-icons">
<Gridicon icon="star" size={ size } />
<Gridicon icon="star-outline" size={ size } />
</span>
);
LikeIcons.propTypes = {
size: PropTypes.number,
};
LikeIcons.defaultProps = {
size: 24,
};
export default LikeIcons;
|