creating a reusable styled form component - TanStack