Skip to content

Send files directly between devices over the internet - no cloud storage, no size limits.

422 B
Raw Blame
import type { ReactNode } from 'react'

export function CardFooter({
  children,
  align = 'between'
}: {
  children: ReactNode
  align?: 'between' | 'end'
}) {
  const justify = align === 'end' ? 'sm:justify-end' : 'sm:justify-between'
  return (
    <div
      className={`mt-4 flex flex-col items-stretch gap-3 sm:mt-5 sm:flex-row sm:items-center sm:gap-3.5 sm:pt-5 ${justify}`}
    >
      {children}
    </div>
  )
}