ud-react-ui
v1.0.2
Published
Union Digital's mini app react components
Downloads
1
Readme
Table of Contents
Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
The best way to consume UD component is via the npm package which you can install with npm.
npm install ud-react-ui
Importing CSS
Import CSS in the src/index.js
file:
import 'ud-react-ui/dist/style.css';
Importing Components
import { Button } from 'ud-react-ui';
Usage
See how we implement the component using create-react-app
here.
For more examples, please refer to the Documentation
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feat/amazing-feature
) - Commit your Changes (
git commit -m 'Add some amazing-feature'
) - Push to the Branch (
git push origin feat/amazing-feature
) - Open a Pull Request
License
Distributed under the GPLv3 License. See LICENSE.md
for more information.
Issues
Duplicate react dependency (local development only)
Assuming myapp
and ud-react-ui
are sibling folders, one possible fix is to run this command:
npm link ../<myapp-folder>/node_modules/react
More info regarding this issue here.