#include <react/renderer/components/view/YogaLayoutableShadowNode.h>

namespace facebook::react {

class RNSVGLayoutableShadowNode : public YogaLayoutableShadowNode {
 public:
  RNSVGLayoutableShadowNode(
      const ShadowNodeFragment &fragment,
      const ShadowNodeFamily::Shared &family,
      ShadowNodeTraits traits);

  RNSVGLayoutableShadowNode(
      const ShadowNode &sourceShadowNode,
      const ShadowNodeFragment &fragment);

  void layout(LayoutContext layoutContext) override;

 private:
  void setZeroDimensions();
};

} // namespace facebook::react
