1.0.1 • Published 5 years ago
freemium-ui-trial v1.0.1
React based light weight ui components based on Styled Components
Installation
Add the resistry to .npmrc file in parent folder
registry=https://npm.pkg.github.com/freshdeskPeer Dependencies to be installed
npm install styled-componentsInstall the package
npm install @freshdesk/freemium-uiPlease note that @next will only point to pre-releases; to get the latest stable release use @latest instead.
Usage
Here is a quick example to get you started, it's all you need:
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from '@freshdesk/freemium-ui';
function App() {
return (
<Button>
Freemium Button
</Button>
);
}
ReactDOM.render(<App />, document.querySelector('#app'));Contribution
Install Dependencies
npm installStart the app
npm startBuild Freemium Ui Core Components
npm run buildGenerate a PAT with admin:org, write:packages, read:packages, delete:packages
Authenticate to npm github package
npm login --registry=https://npm.pkg.github.com/Publish the package to npm
npm publish