A function that modifies a component of props that extend BaseProps without changing its type.
BaseProps
A function that modifies a component of props that extend
BasePropswithout changing its type.