This package has been deprecated

    Author message:

    Package renamed to react-graphics

    react-gender

    1.2.2 • Public • Published

    react-gender NPM version

    SVG gender symbols as renderable, customizable React components.

    Screenshot

    Installation

    Install the package with NPM:

    $ npm install react-gender

    Usage

    Example:

    import React from "react";
    import ReactDOM from "react-dom";
    import { Male, Female } from "react-gender";
     
    function Genders() {
      return (
        <div className="genders">
          <Male color="#419fcf" />
          <Female color="#f378ac" />
        </div>
      );
    }
     
    ReactDOM.render(<Genders />, document.getElementById("app"));

    Install

    npm i react-gender

    DownloadsWeekly Downloads

    2

    Version

    1.2.2

    License

    MIT

    Last publish

    Collaborators