Quest for Codev2.0.0
/
SIGN IN
next.js/test/development/acceptance-app/fixtures/app-hmr-changes/app/(post)/components/caption.tsx
caption.tsx13 lines353 B
import Balancer from 'react-wrap-balancer'
import type { ReactNode } from 'react'

export function Caption({ children }: { children: ReactNode }) {
  return (
    <p className="text-xs my-3 font-mono text-gray-500 text-center leading-normal">
      <Balancer>
        <span className="[&>a]:post-link">{children}</span>
      </Balancer>
    </p>
  )
}