How can we pass from object and it's type to child ? - TanStack