@dump247/storybook-state
Advanced tools
Comparing version 1.2.4 to 1.3.0
@@ -148,3 +148,4 @@ 'use strict'; | ||
return storyFn(store); | ||
var child = storyFn(store); | ||
return _react2.default.isValidElement(child) ? child : child(); | ||
} | ||
@@ -151,0 +152,0 @@ }]); |
{ | ||
"name": "@dump247/storybook-state", | ||
"version": "1.2.4", | ||
"version": "1.3.0", | ||
"description": "Manage component state in storybook stories.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -87,3 +87,4 @@ import React from 'react'; | ||
return storyFn(store); | ||
const child = storyFn(store); | ||
return React.isValidElement(child) ? child : child(); | ||
} | ||
@@ -90,0 +91,0 @@ } |
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
379152
10308