Necessary Pigeonholing Mechanism

    @datacamp/waffles-icons
    TypeScript icon, indicating that this package has built-in type declarations

    4.9.0 • Public • Published

    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

    Keywords

    none

    Install

    npm i @datacamp/waffles-icons

    DownloadsWeekly Downloads

    2,812

    Version

    4.9.0

    License

    MIT

    Unpacked Size

    1.89 MB

    Total Files

    1268

    Last publish

    Collaborators

    • vvankrunkelsven
    • evertet
    • bereketmebrahtu
    • marbdq-dc
    • mzetea
    • jang_dc
    • jboguski-dc
    • yunchen44
    • thomasbeckx
    • frederikvg
    • nhlongnguyen
    • bobby.clare
    • nathandatacamp
    • cdalby
    • luigi-dintrono-dc
    • eoliveiradc
    • berndschrooten
    • _bogdan_floris_
    • denathoxhadc
    • sajtempler-dc
    • bartlens
    • kyryl_kurylchenko
    • filipsch
    • meehirpateldatacamp
    • malex-datacamp
    • gillvdw
    • slava-dc
    • ztsorojev
    • smidge
    • alanhughesdatacamp
    • catufuzgu
    • felipeneuhauss
    • joachimzeelmaekers
    • garyalway
    • jdmunro
    • hettiemcc
    • close-d-dev
    • herve-eerebout
    • ddmkr
    • dandenney
    • entropitor
    • ewaldbervoets
    • cnydw
    • rikbw
    • nicolasdesmedt
    • lazzystep
    • abordanpeter
    • aarondc
    • hermansje
    • nunorafaelrocha
    • thomascorthouts
    • nickvdyck
    • timsangster
    • tuur
    • lipsumar
    • caterina
    • datacamp-org
    • chrisramakers
    • irakli_dc
    • ppetermann
    • springerigor
    • iryna059
    • louiejakebell
    • blurbyte
    • kogitoja
    • larisa-datacamp
    • rahien
    • samwooler
    • forvalho
    • stijnj
    • deanterweduwe
    • bruno.datacamp
    • marcin-data
    • julienbenaouda