Package Exports
- review-me-design-system
- review-me-design-system/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (review-me-design-system) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Review Me Design System
This is a shared component library incorporating Review Me's design system. Before getting started, please refer to the Storybook link below.
Installation
npm
npm i review-me-design-systemyarn
yarn add review-me-design-systemGetting Started
Wrap your application with the ReviewMeProvider provided by
review-me-design-systemimport { ReviewMeProvider } from 'review-me-design-system'; <ReviewMeProvider> <App /> </ReviewMeProvider>;
Import components from review-me-design-system and use the imported components
import { Icon, Button } from 'review-me-design-system'; const Component = () => { return ( <> <div>component</div> <Icon iconName="bookMark" /> <Button variant="default" size="s"> button </Button> </> ); };