This just requires small improvement to the transform: If function, find JSX, if found, recurse up to function and fancyElement.