Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19d980a

Browse files
committed
Add a disabled Reply button to the comment
1 parent 0214d6b commit 19d980a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/components/goals/UpdateComment.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import { Avatar, Menu } from '@/ui'
1+
import { Avatar, Button, Menu } from '@/ui'
22
import React, { useRef, useState } from 'react'
33
import { Markdown, A, LikeModal, useLikes, EditComment } from '@/components'
44
import { DateTime } from 'luxon'
55
import { HomePageFeedUpdateType, UpdateCommentType } from 'src/pages'
66
import { useSession } from 'next-auth/client'
77
import classNames from 'classnames'
88
import {
9+
Chats,
910
DotsThreeOutlineVertical,
1011
Pencil,
1112
ThumbsUp,
@@ -195,7 +196,7 @@ export default function UpdateComment({
195196
</div>
196197

197198
<div className="mt-3 flex justify-between space-x-8">
198-
<div className="flex space-x-6">
199+
<div className="flex space-x-4">
199200
<span className="inline-flex items-center text-sm">
200201
<button
201202
className="inline-flex space-x-2 text-gray-400 hover:text-gray-500"
@@ -225,6 +226,13 @@ export default function UpdateComment({
225226
setIsOpen={setIsLikeModalOpen}
226227
/>
227228
</span>
229+
<Button
230+
variant="ghost"
231+
leadingIcon={Chats}
232+
isDisabled={true}
233+
>
234+
Reply
235+
</Button>
228236
</div>
229237
</div>
230238
</div>

0 commit comments

Comments
 (0)