SafeAreaViewState.h 507 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #pragma once
  8. #include <react/graphics/Geometry.h>
  9. namespace facebook {
  10. namespace react {
  11. /*
  12. * State for <SafeAreaView> component.
  13. */
  14. class SafeAreaViewState final {
  15. public:
  16. using Shared = std::shared_ptr<SafeAreaViewState const>;
  17. EdgeInsets const padding{};
  18. };
  19. } // namespace react
  20. } // namespace facebook