Since any Material-UI component can hold a ref. The easiest solution is to wrap the original content with a Box.