Zebra Design System React Desktop Components
Install
npm i -s @zebra-fed/zds-react-desktop
Dependencies
-@zebra-fed/icons
Usage
This library is build with theme in mind. To use the library, the entire react application must be wrapped in <StripesTheme>
import { StripesTheme } from '@zebra-fed/zds-react-desktop/StripesTheme';
<StripesTheme>
<App />
</StripesTheme>;
Dev instructions
To pusblish to NPM:
package.json
Increment version number
yarn build
cd build
npm publish
Publish update to NPM
Old instructions (to remove?)
Zebra Badger. A React component library.
Get Started
$ git clone git@gitlab.athlonsofia.com:zebra/badger-components-react.git
$ cd badger-components-react
$ yarn
Dependencies
Development
You can easily develop and interact with your components by using Styleguidist. To run the local server, simply run:
$ yarn styleguidist
Navigate to http://localhost:6060 to view your styleguidist. They should automatically update as you develop.
Styleguidist will pick up any Readme from the README.md
file in a component folder.
Using
This library is build with theme in mind.
You have to put theme provider to use this library
';
<StripesTheme>
<App />
</StripesTheme>;