Commit e3a07f6f authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[FEATURE] fix export and add more documentation

parent 7604da7b
......@@ -32,6 +32,18 @@ const fs = require('fs');
```
#### Usage in Sass
Given you have an icon called ```icon-trash.svg```
```scss
@import 'svg';
.a-button--delete {
@include inline-svg($icon-trash);
}
```
### Configuration
#### Use your own template
......
......@@ -6,7 +6,7 @@ const globby = require('globby');
const _ = require('underscore');
const util = require('util');
class InlineSvg {
module.exports = class InlineSvg {
/**
* Kick things off
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment