polestar-icons
Version:
Polestar UI Icons
65 lines (46 loc) • 1.57 kB
Markdown
# polestar-icons
[](https://www.npmjs.com/package/polestar-icons)
[](https://travis-ci.org/nkiateam/polestar-icons)
[](https://david-dm.org/nkiateam/polestar-icons)
[](https://david-dm.org/nkiateam/polestar-icons?type=dev)
[](https://raw.githubusercontent.com/nkiateam/polestar-icons/master/LICENSE)
polestar-icons
## Installation
```sh
npm install polestar-icons --save
```
Then add it to your babel configuration like so:
(.babelrc or babel.config.js)
```js
{
"plugins": [
"syntax-dynamic-import"
]
}
```
### Usage
```jsx
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:
1. Clone this repo
2. Run `npm install`
3. Start the development server with `npm start`
4. Point your browser to http://localhost:4100
## Documentation
https://nkiateam.github.io/polestar-icons/
## svg 생성 가이드
1. 사이즈 조절 가능
2. css(className 설정) 로 제어 가능
## License
[The MIT License (MIT)](/LICENSE)