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