Skip to content

Library of React UI components for use in web apps developed by IPG UK

License

Notifications You must be signed in to change notification settings

chhack94/react-ui

 
 

Repository files navigation

@ipguk/react-ui

React UI component library for IPG web applications

NPM JavaScript Style Guide Build Status

Install

npm install --save @ipguk/react-ui

Usage

For a list of supported components run storybook. The basic syntax for usage is shown below for a generic "Component".

import React from "react";

import { Component } from "@ipguk/react-ui";

function Example() {
  return <Component>Here we go</Component>;
}

Documentation

Run storybook to explore all of the components and documentation.

npm run storybook

Release

To release a new version, follow these steps.

  1. Check that all tests pass

    npm test
  2. Up version the package using

    npm version major|minor|patch|prerelease
    
  3. Push the release and tag to Git

    git push
    
    git push --tags
    
  4. Run the publish command

    Note: If publishing for the first time you will need to login to npm

    npm login
    
    npm publish --access=public

    Note: If publishing a prerelease ensure that it is tagged as next rather than latest

    npm publish --access=public --tag=next
    
  5. Publish the release on GitHub

License

MIT © IPG Automotive

About

Library of React UI components for use in web apps developed by IPG UK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.0%
  • TypeScript 48.9%
  • Other 0.1%