@goodhood/inputs-minimal

1.7.1 • Public • Published

@goodhood/inputs-minimal

Collection of dumb input components. Uses the nebenan design system as single source of truth.

Preview

Usage

  • Import styles globally
  @import "@goodhood/inputs-minimal/styles"
  • Import components e.g.
  import { TextField } from "@goodhood/inputs-minimal"

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 'packages/inputs-minimal';
  • Create src/*/index.stories.jsx
    • Preview will take it up automatically

Readme

Keywords

none

Package Sidebar

Install

npm i @goodhood/inputs-minimal

Weekly Downloads

134

Version

1.7.1

License

MIT

Unpacked Size

102 kB

Total Files

8

Last publish

Collaborators

  • jobemichael
  • hahiii
  • fweinrich
  • spossner
  • rejas