Socket
Socket
Sign inDemoInstall

@heathmont/moon-icons

Package Overview
Dependencies
21
Maintainers
134
Versions
184
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @heathmont/moon-icons

--- name: Assets menu: Assets route: /assets/introduction ---


Version published
Weekly downloads
517
increased by1.57%
Maintainers
134
Created
Weekly downloads
ย 

Readme

Source

name: Assets menu: Assets route: /assets/introduction

Introduction

This package houses all SVG assets you might need to build an application.

Installing

npm install --save @heathmont/moon-assets

Consuming

import { GroupIconCurrency } from '@heathmont/moon-assets/groupIcons';
import { CrestWatford } from '@heathmont/moon-assets/crests';
import { IconAdd } from '@heathmont/moon-assets/icons';
import { LogoSportsbet } from '@heathmont/moon-assets/logos';
import { PatternWave } from '@heathmont/moon-assets/patterns';
  • All groupIcons components should be imported from the subfolder /groupIcons
  • All crests should be imported from the subfolder /crests
  • All icons should be imported from the subfolder /icons
  • All logos should be imported from the subfolder /logos
  • All patterns should be imported from the subfolder /patterns

Code splitting

This library supports code splitting by using a babel plugin.

Babel configuration

{
  "plugins": [
    ["transform-imports", {
      "@heathmont/moon-assets": {
          "transform": "@heathmont/moon-assets/lib/es/${member}",
          "preventFullImport": true
        }
    }]
  ]
}

FAQs

Last updated on 25 Apr 2024

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