Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/components/ui/character-counter.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/components/ui/character-counter.tsx |
| Original SHA-256 | fb91d5361e71ad17ee624fc01a4f77ad32404b97f7ae33eff6b998c836646681 |
| Git blob SHA | cb405050ceb5ad4a1673dafafbc6e0242d8f084e |
| Reading-copy SHA-256 | fb91d5361e71ad17ee624fc01a4f77ad32404b97f7ae33eff6b998c836646681 |
Recovered source transcript
Download complete source text ↓14 lines · 0.3 KB
interface CharacterCounterProps {
current: number
max: number
className?: string
}
export function CharacterCounter({ current, max, className = '' }: CharacterCounterProps) {
return (
<span className={`text-xs text-muted-foreground ${className}`}>
{current}/{max}
</span>
)
}