npm.io
0.0.1 • Published 4 years ago

custom-angular-component

Licence
—
Version
0.0.1
Deps
1
Size
408 kB
Vulns
0
Weekly
0

CustomAngularComponent

| Installation

npm i custom-angular-component

| Setup

ComponentAppearance = 'filled' | 'outline';
ComponentShape = 'rectangle' | 'semi-round' | 'round';
ComponentSize = 'tiny' | 'small' | 'medium' | 'large' | 'giant';
ComponentStatus = 'basic' | 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'control';

| Examples

<button libCustomComponent status="info" size="medium" (click)="clickFunction($event)">Hello</button>
<input libCustomComponent status="primary" size="medium" shape="semi-round"/>
<checkbox libCustomComponent status="warning" checked (checkedChange)="change($event)"></checkbox>
<radio libCustomComponent status="danger" checked="true"></radio>