@kth/kth-reactstrap
TypeScript icon, indicating that this package has built-in type declarations

0.4.79 • Public • Published

KTH Style React components

https://app-r.referens.sys.kth.se/static/components/

kth-reactstrap

Library of React components based on KTH-style and reactstrap

Getting started

Installation:

yarn install

The following commands should be used:

yarn start (start documentation web server)
yarn test:unit (start unit tests in watch mode)
yarn dev (run start and test:unit above)
yarn test (run unit tests)
yarn build (build the code for npm package)

Checklist for new category (e.g. team/group)

One-time setup, given a new category named 'demo':

  • create folder 'src/components/demo'
    • create index file '/components/demo/index.ts'
    • add reference to demo in '/components/index.ts'
  • create folder 'src/stories/demo'

And then create components (and stories to document them):

  • create component in 'src/components/demo'
    • add import/export of component in 'src/components/demo/index.ts'
  • create story in 'src/stories/demo'
    • describe/use component in story

Readme

Keywords

none

Package Sidebar

Install

npm i @kth/kth-reactstrap

Weekly Downloads

96

Version

0.4.79

License

MIT

Unpacked Size

505 kB

Total Files

101

Last publish

Collaborators

  • kth-stratus
  • mictsi
  • n_sandstrom
  • kthwebmaster
  • exacs
  • ssundkvist
  • kth-ci
  • emilstenberg