diff --git a/packages/app/src/components/PostCard/components/actions/commentsButton/index.jsx b/packages/app/src/components/PostCard/components/actions/commentsButton/index.jsx new file mode 100644 index 00000000..cf5c6363 --- /dev/null +++ b/packages/app/src/components/PostCard/components/actions/commentsButton/index.jsx @@ -0,0 +1,21 @@ +import React from "react" +import { Button } from "antd" +import { Icons } from "components/Icons" + +import "./index.less" + +export default (props) => { + return
+
+} \ No newline at end of file diff --git a/packages/app/src/components/PostCard/components/actions/commentsButton/index.less b/packages/app/src/components/PostCard/components/actions/commentsButton/index.less new file mode 100644 index 00000000..74e182c8 --- /dev/null +++ b/packages/app/src/components/PostCard/components/actions/commentsButton/index.less @@ -0,0 +1,10 @@ +.comments_button { + display: inline-flex; + flex-direction: row; + + align-items: center; + + .comments_count { + font-size: 0.8rem; + } +} \ No newline at end of file diff --git a/packages/app/src/components/PostCard/components/actions/index.jsx b/packages/app/src/components/PostCard/components/actions/index.jsx index 517e5e14..7f0600a5 100755 --- a/packages/app/src/components/PostCard/components/actions/index.jsx +++ b/packages/app/src/components/PostCard/components/actions/index.jsx @@ -4,6 +4,7 @@ import { Icons } from "components/Icons" import SaveButton from "./saveButton" import LikeButton from "./likeButton" +import CommentsButton from "./commentsButton" import "./index.less" @@ -51,11 +52,9 @@ export default (props) => { />
-