mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
3d6f5f50a7
Summary: Changelog: [Internal] We are moving away from LocalData in favour of State. Reviewed By: shergin Differential Revision: D19247031 fbshipit-source-id: 8884133b13dd111e8d9e2cd4936bf90bfc5b4932
23 lines
460 B
C++
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
|