A wrapper component should usually forward relevant props along with the ref so it behaves like the underlying element.