FormBoxEmpty.tsx 491 B

12345678910111213141516171819
  1. import type { ReactNode } from 'react'
  2. interface Props {
  3. icon: ReactNode
  4. text: ReactNode
  5. }
  6. const FormBoxEmpty = ({ icon, text }: Props) => {
  7. return (
  8. <div className="flex items-center justify-center flex-row py-4 space-x-2">
  9. <div className="relative bg-surface-100 text-foreground-lighter w-6 h-6 rounded-full flex items-center justify-center">
  10. {icon}
  11. </div>
  12. <p className="text-foreground-light">{text}</p>
  13. </div>
  14. )
  15. }
  16. export default FormBoxEmpty