mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5cf327ed83
Summary: Apply `blurRadius` prop once image is loaded. Changelog: [Internal][iOS] Reviewed By: mdvacca Differential Revision: D21227536 fbshipit-source-id: 241aa45f253a06d61e861f6719f14fabf3467b56
27 lines
527 B
C++
27 lines
527 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_;
|
|
}
|
|
|
|
Float ImageState::getBlurRadius() const {
|
|
return blurRadius_;
|
|
}
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|