@dump247/storybook-state
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@dump247/storybook-state", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Manage component state in storybook stories.", | ||
@@ -8,2 +8,3 @@ "main": "dist/index.js", | ||
"build": "babel index.js --out-dir dist", | ||
"publish": "npm run build && npm publish", | ||
"test": "jest" | ||
@@ -25,2 +26,5 @@ }, | ||
"homepage": "https://github.com/dump247/storybook-state#readme", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"peerDependencies": { | ||
@@ -27,0 +31,0 @@ "prop-types": "^15.6.0", |
@@ -32,3 +32,5 @@ # Storybook State | ||
.add('with check', withState({ checked: false }, (store) => ( | ||
<Checkbox {...store.state} label="Test Checkbox" onChange={(checked) => store.set({ checked })}/> | ||
<Checkbox {...store.state} | ||
label="Test Checkbox" | ||
onChange={(checked) => store.set({ checked })}/> | ||
)); | ||
@@ -35,0 +37,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
14315
50