@coopdigital/react
v0.49.0
Published
<nav> <img src="https://s3.eu-west-1.amazonaws.com/assets.digital.coop.co.uk/logos/coopeng-logo.svg" alt="Co-op logo" width="100"/> <br /> <br /> </nav>
Readme
Experience Kit for React
React components for the Experience Library design system.
You can see the full range of components and documentation on the Experience Kit Storybook
Getting started
Install the react package from NPM:
npm install @coopdigital/reactUsage
Import the components that you need, along with the main stylesheet and the corresponding component styles:
import { Pill } from "@coopdigital/react"
import "@coopdigital/styles/main.css"
import "@coopdigital/styles/components/Pill.css"Alternatively if your project uses SASS you can import the source stylesheets:
@use "@coopdigital/styles/src/main.scss"
@use "@coopdigital/styles/src/components/Pill.scss"License
MIT License
Copyright (c) Co-operative Group Limited
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
