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

@datacamp/waffles-icons

Package Overview
Dependencies
Maintainers
71
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datacamp/waffles-icons

Usage documentation available at [waffles.datacamp.com/component-library/icons](https://waffles.datacamp.com/component-library/icons).

  • 4.10.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
71
Created
Source

Icons

Usage documentation available at waffles.datacamp.com/component-library/icons.

This package contains the all the source svg icons as well as the build process to generate react components and sprite files. This build process is handled using gulp.

React(-native) Components

React components are generated in multiple steps:

  • SVGs are loaded from the /brandIcons, /invertedIcons and /standardIcons directories.
  • Components are created in the /build directory using SVGR and a custom typescript template for both web and react-native.
  • An index.ts file is generated within /build to expose all the components.
  • These typescript files are transpiled to javascript and typings files in the /lib directory to be exposed.

SVG Sprites

SVG Sprites are also generated in multiple steps:

  • SVGs are loaded from the /brandIcons, /invertedIcons and /standardIcons directories.
  • Sprites of various types are created in the /sprites directory using svg-sprite

FAQs

Package last updated on 12 Dec 2022

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