0.0.1-alpha.7 • Published 1 year ago

pq-components v0.0.1-alpha.7

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Install

For install pq-components run:

npm i pq-components

Example

In my-module.ts file

...
import { PQButtonComponent } from 'pq-components'
import { MyComponent } from 'my-component-path'

@NgModule({
  imports: [
    ...
    PQButtonComponent,
  ],
  declarations: [MyComponent],
})
export class MyModule {}

In my-component.html file

<h1>My PQ BUTTON</h1>

<pq-button [view]="ViewButton.NORMAL" [normal]="{
    type: 'center',
    fill: 'solid',
    callback: myArrowFunction,
    color: 'primary',
    size: 'large',
    expand: 'block',
    text: 'My buttom'
}">
</pq-button>

In file my-component.ts

...
import { ViewButton } from 'pq-components'

@Component({
  selector: 'my-component',
  templateUrl: './my-component.html',
  styleUrls: ['./my-component.scss'],
})
export class MyComponent {
    ...
    public ViewButton = ViewButton
    ...

    myArrowFunction = () => {
        console.log('PQ-COMPONENTS')
    }
}
0.0.1-alpha.7

1 year ago

0.0.1-alpha.6.1f

2 years ago

0.0.1-alpha.6

2 years ago

0.0.1-alpha.5f

2 years ago

0.0.1-alpha.6f

2 years ago

0.0.1-alpha.4

2 years ago

0.0.1-alpha.5

2 years ago

0.0.1-alpha.3f

2 years ago

0.0.1-alpha.3

2 years ago

0.0.1-alpha.2

2 years ago

0.0.1-alpha.1

2 years ago

0.0.1-alpha

2 years ago