@goodhood/components
TypeScript icon, indicating that this package has built-in type declarations

10.0.0 • Public • Published

@goodhood/components

A collection of React Nebenan UI Components

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

/@goodhood/components/

    Package Sidebar

    Install

    npm i @goodhood/components

    Weekly Downloads

    306

    Version

    10.0.0

    License

    MIT

    Unpacked Size

    1.33 MB

    Total Files

    168

    Last publish

    Collaborators

    • jobemichael
    • hahiii
    • fweinrich
    • spossner
    • rejas