piral-core
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -9,3 +9,3 @@ "use strict"; | ||
function getExtensionSlot(name) { | ||
const ExtensionSlotView = ({ render = defaultRender, empty, params }) => { | ||
const ExtensionSlotView = ({ render = defaultRender, empty, params = {} }) => { | ||
const extensions = hooks_1.useGlobalState(s => s.components.extensions[name] || []); | ||
@@ -12,0 +12,0 @@ return render(extensions.length === 0 && typeof empty === 'function' |
@@ -5,3 +5,3 @@ /// <reference types="react" /> | ||
render?(nodes: Array<React.ReactNode>): React.ReactElement<any> | null; | ||
params: any; | ||
params?: any; | ||
} |
{ | ||
"name": "piral-core", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "The core library for a Piral instance.", | ||
@@ -44,3 +44,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "4702b805593f097d650682896aec6ea6ef2b3392" | ||
"gitHead": "586b62ddcbfb4222d2a6f5b7334ef0b02f1b9f44" | ||
} |
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
150403