Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@heathmont/moon-assets

Package Overview
Dependencies
Maintainers
136
Versions
332
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heathmont/moon-assets

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

  • 10.6.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
601
increased by237.64%
Maintainers
136
Weekly downloads
 
Created
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

Package last updated on 28 Aug 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc