New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@goodhood/components

Package Overview
Dependencies
Maintainers
0
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goodhood/components

A collection of React Nebenan UI Components

10.1.0
latest
Source
npm
Version published
Maintainers
0
Created
Source

@goodhood/components

A collection of React Nebenan UI Components

  • Preview

Preview

Usage

  • Import nebenan-ui-ki globally
  @import "nebenan-ui-kit/styles"
  • Import scss styles globally
  @import "@goodhood/components/styles"
  • Import components e.g.
  import { Logo } from "@goodhood/components";

Add a new component

  • Create src/*/index.jsx
    • Default exports will be re-exported with the components name
    • Named exports will be re-exported as they are (watch out for collisions)
      // src/micro_helmet/index.jsx
      export const MicroHelmetProvider = 123;
      export default 666;
      
      // usage
      import { MicroHelmet, MicroHelmetProvider } from '@goodhood/components';
      
  • Create src/*/index.stories.jsx
    • Preview will take it up automatically

FAQs

Package last updated on 20 Aug 2024

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