mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e5921f7f38
Summary: Changelog: [internal] Fabric's scrollView now supports horizontal scroll view. Reviewed By: JoshuaGross Differential Revision: D26608231 fbshipit-source-id: 176a7802fa580247d12657e08780805daacd8357
19 lines
389 B
C++
19 lines
389 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#include "ScrollViewState.h"
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
Size ScrollViewState::getContentSize() const {
|
|
return contentBoundingRect.size;
|
|
}
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|