結果 : react use type or interface