import React from 'react'
import '../tailwind.css'

export interface CaptionProps {
  /* Inner content of the element */
  children: React.ReactNode
}

export const Caption = ({ children }: CaptionProps) => {
  return (
    <p className="text-sm font-light leading-snug text-primary-text">
      {children}
    </p>
  )
}
