@locate-a-locum/react-components v3.24.0
React Component Library
A collection of React components that are used to build Locate a Locum's web products. Based on our common design system, the components aim to provide a consistent, high quality experience for users and developers alike.
Usage
Install
The component library is distributed via the public NPM Registry in the @locate-a-locum/react-components package:
yarn add @locate-a-locum/react-componentsNote that this library has a number of
peerDependenciesthat must be satisfied.
Import Components
import { Button } from '@locate-a-locum/react-components';
<Button>Locate a Locum</Button>For full setup instructions, visit the Component Library Setup Page.
Built With
- Framework | React
- Language | TypeScript
- Styling | Styled-components + Styled-system
- Testing | Jest + react-testing-library
- Documentation | Invision DSM + Storybook
- Build & Deployment | Webpack + Github Actions + Heroku
- Linting | ESlint
Developer Contributions
Note: react-components development required node version 12.0. (if you have 12.0 installed, run
nvm use 12.0.x- if you don't have 12.0.x installed, you can do this vianvm install 12.0.x)
- Check out the
developbranch for initial development. - Run
yarnto install dependencies. - Run
yarn docsto run the local doc-site and test components.
Local Development against other repos
We use yalc to enable testing against local versions of other LaL repos.
Check out the Debugging against express-web-app repository article for information on setup.
Testing Locally
yarn docswill start the doc site locally allowing you to perform some tests.yarn buildwill do a production build of the library.
Build and Release
For information on our contribution and release workflow, check out this Confluence article.
Release Notes
You can view an up to date changelog for the component library is the repositories Github release page.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago