1.0.0 • Published 4 years ago

react-css.gg v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

React css.gg

npm version npm downloads

Usecase

Use css.gg icons without styled-components or it's SVG Sprite method. This package provides all SVG's exported as typed React Components

Installation

yarn add react-css.gg
npm install react-css.gg

Usage

import React from "react";
import { Pokemon } from "react-css.gg";

const App = () => {
  return <Pokemon />;
};

export default App;

Icons can be sized (default: 24)

<Pokemon size={42} />

You can also include the whole icon pack:

import React from "react";
import * as Icons from "react-css.gg";

const App = () => {
  return <Icons.Pokemon />;
};

export default App;
1.0.0

4 years ago