Download references/comments/src/components/CommentCount.tsx from mirasim-ai/devbrowse-bench: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/datasets/mirasim-ai/devbrowse-bench/resolve/main/references/comments/src/components/CommentCount.tsx
- Command line
-
hf download hf://datasets/mirasim-ai/devbrowse-bench/references/comments/src/components/CommentCount.tsx
-
curl -L -o CommentCount.tsx https://huggingface.co/datasets/mirasim-ai/devbrowse-bench/resolve/main/references/comments/src/components/CommentCount.tsx
220 Bytes
| import { pluralize } from "../utils/format"; | |
| export function CommentCount({ count }: { count: number }) { | |
| if (count === 0) return null; | |
| return <span className="comment-count">{pluralize(count, "comment")}</span>; | |
| } | |