@dump247/storybook-state
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -24,2 +24,2 @@ import { Renderable, RenderFunction } from '@storybook/react'; | ||
export type StorybookStateCallback<T> = (store: Store<T>) => Renderable | Renderable[]; | ||
export function withState<T extends {}>(state: T, callback: StorybookStateCallback<T>): RenderFunction; | ||
export function withState<T extends {}>(state: T, callback?: StorybookStateCallback<T>): any // RenderFunction; |
{ | ||
"name": "@dump247/storybook-state", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Manage component state in storybook stories.", | ||
@@ -32,4 +32,4 @@ "main": "dist/index.js", | ||
"@storybook/addons": "^3.2.16", | ||
"prop-types": "^15.6.0", | ||
"react": "^15.6.0" | ||
"prop-types": "^15.5.0", | ||
"react": "^15.5.0 || ^16.0.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "dependencies": { |
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
380878