Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@entur/component-library

Package Overview
Dependencies
Maintainers
13
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entur/component-library

The Entur component library is a [Storybook](https://storybook.js.org) based app with set of [React](https://reactjs.org/) components common for all Entur React applications.

  • 0.30.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
19
decreased by-9.52%
Maintainers
13
Weekly downloads
 
Created
Source

Entur component library

The Entur component library is a Storybook based app with set of React components common for all Entur React applications.

It is served here: https://entur-component-library-ae8fd.firebaseapp.com

Installation

npm install --save @entur/component-library

The component library depends on a small set of global definitions; typography and rem size. These rules are defined in index.css. For correct fonts add @entur/fonts to your package.json

"dependencies": {
  "@entur/fonts": "git+ssh://git@bitbucket.org:enturas/entur-fonts.git#a5e1956"
}

Remember to run npm install after adding the line.

You will also need to import the rules in your code:

// javascript
import '@entur/fonts/index.css'
import '@entur/component-library/lib/index.css'

// css
@import '~@entur/fonts/index.css'
@import '~@entur/component-library/lib/index.css'

Development

Getting started

  • Clone project
  • npm install to install dependencies
  • npm run storybook to run the Storybook app

Publish

npm run deploy

FAQs

Package last updated on 02 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc