Reusable AppField components with unions - TanStack