結果 : react use ref to get element height