結果 : react calculate width of element