Nearsighted Penguin March

    @kth/kth-style-react-components

    2.0.19 • Public • Published

    KTH Style - React Components

    Travis status

    Description

    This project is a work in progress.

    As of 2021-02-12 we shall reboot this project. The new version (2.0) will do a new take on the components and also support Formik.

    The purpose is to create an easy to use library in React with common components implemented with KTH style.

    Get started

    Install @kth/kth-style-react-components

    npm i @kth/kth-style-react-components
    

    Import the component in the file where you want to use it, in this example, we want to import Header

    import { Header } from '@kth/kth-style-react-components'
    

    Use it just like any React component

    Example:

    import React from 'react'
    import { Header } from '@kth/kth-style-react-components'
    
    export const App = () => {
      return <div>
        <Header />
        ...
      </div>
    }
    

    Keywords

    Install

    npm i @kth/kth-style-react-components

    DownloadsWeekly Downloads

    87

    Version

    2.0.19

    License

    MIT

    Unpacked Size

    75.4 kB

    Total Files

    29

    Last publish

    Collaborators

    • kthwebmaster
    • wkchung
    • exacs
    • ssundkvist
    • kth-ci
    • emilstenberg