* feat: move state wrapper from container view to host view * fix(ios): call updateStateIfNeeded on every state update * fix(ios): handle device rotation and only track width changes * feat(android): align state update flow with iOS * chore: improve clean script with colors
12 lines
277 B
C++
12 lines
277 B
C++
#include "TrueSheetViewState.h"
|
|
|
|
namespace facebook::react {
|
|
|
|
#ifdef ANDROID
|
|
folly::dynamic TrueSheetViewState::getDynamic() const {
|
|
return folly::dynamic::object("containerWidth", containerWidth)("containerHeight", containerHeight);
|
|
}
|
|
#endif
|
|
|
|
} // namespace facebook::react
|