001package react4j.dom; 002 003import javax.annotation.Nonnull; 004import javax.annotation.Nullable; 005import jsinterop.annotations.JsPackage; 006import jsinterop.annotations.JsType; 007import react4j.ReactNode; 008 009@SuppressWarnings( "NotNullFieldNotInitialized" ) 010@JsType( isNative = true, namespace = JsPackage.GLOBAL, name = "Object" ) 011public class ReactPortal 012 implements ReactNode 013{ 014 @Nullable 015 public String key; 016 @Nonnull 017 public Object containerInfo; 018 @Nonnull 019 public ReactNode children; 020 021 /** 022 * Objects of this class cannot be directly instantiated by the user. 023 */ 024 protected ReactPortal() 025 { 026 } 027}