import {Text} from '@/components/ui/typography'
import {atoms as a, useTheme} from '@/sprinkles'

// quiet close for an exhausted list, so "stopped loading" reads as "done"
export function ListEnd() {
  const t = useTheme()
  return (
    <Text
      style={[
        a.py_md,
        a.text_sm,
        a.text_center,
        t.atoms.text_contrast_medium,
      ]}
    >
      {"That's everything"}
    </Text>
  )
}
