4.4.0 • Published 1 year ago
@inprodi/icons v4.4.0
inprodi icons
Inprodi icons library.
Installation
# With yarn
yarn add @inprodi/icons
# With npm
npm install @inprodi/icons
Usage
Filled
import React from "react";
import { DiamondFilled } from "@inprodi/icons";
const App = () => {
return <DiamondFilled />;
};
export default App;
Outline
import React from "react";
import { UserOutline } from "@inprodi/icons";
const App = () => {
return <UserOutline />;
};
export default App;
Color
import React from "react";
import { WordColor } from "@inprodi/icons";
const App = () => {
return <WordColor />;
};
export default App;
Consideration
This package not pre-compile its ES modules, so you need to transpile it to avoid jest errors. To setup the jest environment, you need to create the following files.
babel.config.js
module.exports = {
presets : [
["@babel/preset-env", { targets : { node : "current" } }],
[ "@babel/preset-react", { "runtime" : "automatic" } ],
"@babel/preset-typescript",
],
};
jest.config.js
module.exports = {
verbose : true,
testEnvironment : "jsdom",
transformIgnorePatterns : [
"/node_modules/(?!(@inprodi/icons)/)",
],
};
To know about visist unexpected token erro or transformignorepatterns
License
MIT
4.4.0
1 year ago
4.3.0
2 years ago
4.2.0
2 years ago
4.0.7
2 years ago
4.1.0
2 years ago
4.0.5
2 years ago
4.0.4
2 years ago
4.0.6
2 years ago
4.0.3
2 years ago
4.0.1
2 years ago
4.0.0
2 years ago
4.0.2
2 years ago
3.0.0
2 years ago
2.2.0
2 years ago
2.1.0
2 years ago
2.0.0
3 years ago
1.1.0
3 years ago
1.0.0
3 years ago
0.4.0
3 years ago
0.0.0
3 years ago