Files
react-native/ReactCommon/fabric/components/image/ImageState.cpp
T
Samuel Susla 3d6f5f50a7 Fabric: Migrate Image to State from LocalData
Summary:
Changelog: [Internal]

We are moving away from LocalData in favour of State.

Reviewed By: shergin

Differential Revision: D19247031

fbshipit-source-id: 8884133b13dd111e8d9e2cd4936bf90bfc5b4932
2020-01-06 05:25:23 -08:00

23 lines
460 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 "ImageState.h"
namespace facebook {
namespace react {
ImageSource ImageState::getImageSource() const {
return imageSource_;
}
ImageRequest const &ImageState::getImageRequest() const {
return *imageRequest_;
}
} // namespace react
} // namespace facebook