This is an ambiguous option name, especially because we use the same one in ListView when we expect a ModalView instance, whereas it looks like here you want a function.

Call it .createContentView