4.8.0 • Published 1 year ago
@chhack94/react-ui v4.8.0
@ipguk/react-ui
React UI component library for IPG web applications
Install
npm install --save @ipguk/react-uiUsage
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 storybookRelease
To release a new version, follow these steps.
Check that all tests pass
npm testUp version the package using
npm version major|minor|patch|prereleasePush the release and tag to Git
git pushgit push --tagsRun the publish command
Note: If publishing for the first time you will need to login to npm
npm loginnpm publish --access=publicNote: If publishing a prerelease ensure that it is tagged as next rather than latest
npm publish --access=public --tag=nextPublish the release on GitHub
License
MIT © IPG Automotive
4.8.0
1 year ago