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 publish to NPM:
package.json
Increment version number
yarn build
cd build
npm publish
Publish update to NPM
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.