[Radio][Joy] support componentsProps
as a function
#34022
Merged
componentsProps
as a function
#34022