1.0.1 • Published 3 years ago

@gxan/icon v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Gxan Icon license

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>
1.0.1

3 years ago

1.0.0

3 years ago