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

@sprucelabs/react-heartwood-components

Package Overview
Dependencies
Maintainers
8
Versions
1041
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sprucelabs/react-heartwood-components

React components for your Sprucebot Skill πŸ’ͺ🏼

  • 9.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

Sprucebot for React Build Status

Greenkeeper badge

Goals

  1. Translate vanilla components from Sprucebot Heartwood into React components for use in web.

Setup

  1. Follow the instructions for the workspace
  2. Add Storybook CLI tool globally: yarn global @storybook/cli

Running Storybook locally

  1. From packages/react-heartwood-components, run yarn storybook
  2. If you need to load additional stylesheets, i.e. from sprucebot-heartwood, you can specify them in .env as STYLESHEETS

Adding stories

Any .js file that ends with -story.js will be automatically added to Storybook.

Usage in Skills

  1. Add the current prerelease version: yarn add @sprucelabs/react-heartwood-components@8.x.x
  2. Import components:
import { Button } from '@sprucelabs/react-heartwood-components'

React Docgen

This project uses React Docgen via Storybook Info Addon to autogenerate documentation from Flow declarations and comments.

To add a description to a prop, write a comment above it:

type Props = {
	/** This is the component's title */
	title: string
}

This will add it to the description cell in the props table.

Contributing

TBD β€”Β This is currently a prerelease

Deploying Storybook as a static site

TBD

Additional Info

Keywords

FAQs

Package last updated on 11 Feb 2020

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

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