@paperless/angular
v3.1.1
Published
<div class="pb-10"> <p align="center">
Readme
📦 Install
React
npm install @paperless/core @paperless/reactyarn add @paperless/core @paperless/reactAngular
npm install @paperless/core @paperless/angularyarn add @paperless/core @paperless/angularWeb Components
npm install @paperless/coreyarn add @paperless/core🚀 Usage
React
// setup
import { applyPolyfills, defineCustomElements } from '@paperless/core/loader';
applyPolyfills().then(() => defineCustomElements());
// usage
import { Button } from '@employes/paperless';
const App = () => <Button>Click me!</Button>;Angular
import { PButton } from '@paperless/angular';
@Component({
templateUrl: `
<p-button>Click me!</p-button>
`,
imports: [PButton],
})
export class MyComponent {}Web Components
Add the following code snippet in your project to start using the components
import { defineCustomElements } from '@paperless/core/loader';
defineCustomElements();And in your html:
<p-button>Click me!</p-button>⌨️ Typescript
The library is javascript based but types are supported with d.ts files.
You should get the types automatically when installing @paperless/core.
🤝 Contributing 
We welcome contributions to @paperless!
Read our contributing guide and help us build or improve our components.
📝 License
This project is offered under Apache License 2.0.
