import * as React from 'react';
import styled from 'styled-components';
import {
rem
} from '../../style/function.style';
import { PostDetail } from '../type';
const Container = styled.div`
width: 100%;
white-space: nowrap;
color: #CCCCCC;
.nw-dark-mode &{
color: #666;
}
`;
const LikeSvg = styled.svg`
display: inline-block;
vertical-align: middle;
`;
const LikeIcon = () => {
return (
)
};
const LikeCount = styled.span`
display: inline-block;
vertical-align: middle;
margin-left: ${rem(8)};
font-size: ${rem(24)};
`;
export class LofterPostLike extends React.Component<{
post: PostDetail
}> {
render () {
const {
post
} = this.props;
const count = post?.postCountView?.favoriteCount;
return (
{count}
)
}
}