@gondel/plugin-react
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -11,4 +11,4 @@ /// <reference types="react" /> | ||
updateConfig: (config: TConfig) => void; | ||
render(): any; | ||
render(): JSX.Element | (string & ((props: TConfig) => JSX.Element)) | (number & ((props: TConfig) => JSX.Element)) | (true & ((props: TConfig) => JSX.Element)) | (false & ((props: TConfig) => JSX.Element)) | ((string | number | boolean | any[] | React.ReactElement<any>)[] & ((props: TConfig) => JSX.Element)) | (React.ReactPortal & ((props: TConfig) => JSX.Element)) | undefined; | ||
} | ||
export declare function createRenderAbleAppWrapper<TConfig>(props: Props<TConfig>): JSX.Element; |
@@ -52,3 +52,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var children = this.props.children; | ||
return children ? children(this.state) : null; | ||
return typeof children === 'function' ? children(this.state) : children; | ||
}; | ||
@@ -55,0 +55,0 @@ return AppWrapper; |
{ | ||
"name": "@gondel/plugin-react", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Gondel Plugin to boot react widgets and apps", | ||
@@ -5,0 +5,0 @@ "bugs": "https://github.com/namics/gondel/issues", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24227
387