Socket
Socket
Sign inDemoInstall

cheetah-grid-icon-svg-loader

Package Overview
Dependencies
6
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cheetah-grid-icon-svg-loader

Webpack loader that loads the icon module for Cheetah Grid from SVG.


Version published
Weekly downloads
14
decreased by-17.65%
Maintainers
1
Install size
371 kB
Created
Weekly downloads
 

Readme

Source

cheetah-grid-icon-svg-loader

Webpack loader that loads the icon module for Cheetah Grid from SVG.

Installation

npm install --save-dev cheetah-grid-icon-svg-loader

Usage

const icons = {
  gridOn: require("cheetah-grid-icon-svg-loader!material-design-icons/image/svg/production/ic_grid_on_24px.svg"),
};

cheetahGrid.register.icons(icons);

// …

const grid = new cheetahGrid.ListGrid({
  header: [
    // …
    {
      field: "…",
      caption: "…",
      icon: {
        name: "gridOn",
        width: 24,
      },
    },
  ],
  // …
});

Keywords

FAQs

Last updated on 22 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc