🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

go-storybook

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

go-storybook

react storybook

latest
Source
npmnpm
Version
0.1.17
Version published
Maintainers
1
Created
Source

go-storybook

It's a React-based storybook. Deployed on npm, you can easily use the component. You can infer component properties through TypeScript. You can check the component UI through Storybook. https://imki123.github.io/go-storybook

How to install

npm i -g yarn
yarn add go-storybook

Usage

Button

import { Button } from 'go-storybook'

<Button>Click Me</Button>

SnackBar

export const Component = () => {
  const { openSnackBar } = useSnackBar({ text: 'My snackbar!!' })
  return (
    <>
      <Button onClick={openSnackBar}>Open SnackBar</Button>
      <SnackBar text='' />
    </>
  )
}

How to Start Project

How to install

yarn

If you have ts errors in IDE, check below yarn docs.
https://yarnpkg.com/getting-started/editor-sdks

How to start storybook

yarn sb

How to build/deploy npm

npm version patch
yarn build-npm
npm publish

How to deploy git (auto build)

git push && yarn deploy

Keywords

react

FAQs

Package last updated on 15 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts