Wondering what’s next for npm?Check out our public roadmap! »

    @redsift/d3-rs-text-icon

    0.0.5 • Public • Published

    d3-rs-text-icon

    d3-rs-text-icon easily generate a single character icon.

    Builds

    Circle CI

    Example

    View @redsift/d3-rs-text-icon on Codepen

    Usage

    Browser

    <script src="//static.redsift.io/reusable/d3-rs-text-icon/latest/d3-rs-text-icon.umd-es2015.min.js"></script>
    <script>
    	var text = d3_rs_text_icon.text();
    	...
    </script>
    

    ES6

    import { text } from "@redsift/d3-rs-text-icon";
    let eml = text.html();
    ...
    

    Require

    var text = require("@redsift/d3-rs-text-icon");
    var eml = text.text();
    ...
    

    Parameters

    Name Description Transition
    classed SVG custom class N

    Install

    npm i @redsift/d3-rs-text-icon

    DownloadsWeekly Downloads

    0

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar