How to use the angular-feather.FeatherModule.pick function in angular-feather

To help you get started, we’ve selected a few angular-feather examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github JP1016 / Paper / src / app / icons / icons.module.ts View on Github external
// Select some icons (use an object, not an array)
const icons = {
  Camera,
  Heart,
  Github,
  Trash2,
  Send,
  Moon,
  Sun,
  Plus,
  Menu
};

@NgModule({
  imports: [FeatherModule.pick(icons)],
  exports: [FeatherModule]
})
export class IconsModule { }
github imolorhe / altair / src / app / modules / icons / icons.module.ts View on Github external
Sun,
  Terminal,
  Tag,
  Watch,
  X,
  XCircle,
  XSquare,
};

@NgModule({
  declarations: [
    IconComponent,
  ],
  imports: [
    CommonModule,
    FeatherModule.pick(icons),
  ],
  exports: [
    IconComponent,
    FeatherModule,
  ],
})
export class IconsModule { }
github JP1016 / Markdown-Electron / src / app / icons / icons.module.ts View on Github external
ChevronRight,
  Minus,
  Image,
  Type,
  Circle,
  Hash,
  ChevronsRight,
  Columns,
  GitMerge,
  AlertCircle,
  File,
  Users
};

@NgModule({
  imports: [FeatherModule.pick(icons)],
  exports: [FeatherModule]
})
export class IconsModule { }

angular-feather

Feather Icons components library for your Angular Applications

MIT
Latest version published 3 months ago

Package Health Score

75 / 100
Full package analysis

Popular angular-feather functions