Files
react-native/ReactCommon/react/renderer/components/scrollview/ScrollViewState.cpp
T
Samuel Susla e5921f7f38 Fix horizontal scrolling in RTL scripts
Summary:
Changelog: [internal]

Fabric's scrollView now supports horizontal scroll view.

Reviewed By: JoshuaGross

Differential Revision: D26608231

fbshipit-source-id: 176a7802fa580247d12657e08780805daacd8357
2021-02-24 06:29:51 -08:00

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