const Component = React.forwardRef<RefType, PropsType>((props, ref) => {
  return someComponent;
});