Diverse UI Components using React Hooks, Material UI, and emotion.
- Just install the npm package, using:
npm install @emmveqz/react-components
- You will need to set the package scope in your
.npmrc
file, like this:
@emmveqz:registry=https://npm.pkg.github.com
- You will also need to get a github access token with
read:packages
permission.
You can do that here.
Then set your token at your.npmrc
file, like this:
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_ACCESS_TOKEN
Pass a list of strings so it's trimmed to fit inside a component,
adding a "rest" badge at the end.
A File field using Material UI.
Use the "Download" icon whenever your field has data,
and the "Select File" icon to set/change the file.