Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dump247/storybook-state

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dump247/storybook-state - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

package.json
{
"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",

4

README.md

@@ -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 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc