This project is Fotogjenens own custom gui library. It is exported as an NPM library, and can be downloaded and used in other frontend projects.
This project uses React Typescript to write components and Storybook as component documentation.
- css modules MUST be named
<component-name>.module.css
- The projects src/ folder CANNOT contain ANY .js files
- Clone reposetory
npm install
npm run storybook
npm i hilfling-gui
- import as
import {Component} from 'hilfling-gui/lib'
Use as any other npm component library
- Write your new component - figure out how from our wiki
- Export the component in the index.ts file inside the src folder
npm login
med fotogjengen-web brukernpm version patch
ellernpm version <version number>
, sistnevnte for breaking changesnpm publish