polestar-icons
v0.10.22
Published
Polestar UI Icons
Downloads
23
Readme
polestar-icons
polestar-icons
Installation
npm install polestar-icons --save
Then add it to your babel configuration like so: (.babelrc or babel.config.js)
{
"plugins": [
"syntax-dynamic-import"
]
}
Usage
import React from 'react';
import ReactDOM from 'react-dom';
import Icon from 'polestar-icons';
const App = () => (
<Icon name="icon-name" />
);
ReactDOM.render(
<App />,
document.getElementById('app')
);
Examples
To run and development examples:
- Clone this repo
- Run
npm install
- Start the development server with
npm start
- Point your browser to http://localhost:4100
Documentation
https://nkiateam.github.io/polestar-icons/
svg 생성 가이드
- 사이즈 조절 가능
- css(className 설정) 로 제어 가능