useIonModal(), 'component' and 'componentProps' are ignored in ModalOptions

In the interface ModalOptions, the properties of ‘component’ and ‘componentProps’ are ignored even though ModalOptions is passed in the ‘present’ function. The source code has those properties ignored (Omit<ModalOptions, ‘component’ | ‘componentProps’>). Is there a reason why? (I assume it is because the useIonModal hook takes these). If so, can the documentation be updated to denote these properties do not work with the ion hook. It was not obvious that the props MUST be passed in the parameter in useIonModal vs using ModalOptions: componentProps