1.0.1 • Published 3 years ago
@gxan/icon v1.0.1
Gxan Icon 
Component for Angular
Installation
npm i @gxan/icon
Usage
First you need to include the GxIconModule in your module
import { GxIconModule } from '@gxan/icon';
@NgModule({
imports: [
GxIconModule
],
...
})
Next, you need to include the configuration in your component
import { Icon, Color, Type } from '@gxan/icon';
...
export class AppComponent {
icon : Icon = {
color: Color.blue,
size: 24,
type: Type.add
}
}
<gx-icon [icon]="icon"></gx-icon>