結果 : react calculate element width