Skip to content

Commit

Permalink
Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
tedw committed Mar 30, 2018
1 parent 6e9fb7c commit 2d84b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ yarn add @threespot/fluid-svg-polyfill
## Usage

```js
import fluidSVGPolyfill from "../lib/ie-svg-fix";
import fluidSVGPolyfill from "@threespot/fluid-svg-polyfill";

// Add “is-fluid” class to any SVGs that are fluid width
const svgs = document.querySelectorAll('.is-fluid');
Expand All @@ -31,7 +31,7 @@ svgs.forEach( el => fluidSVGPolyfill(el) );
You can also specify a custom class to add to the wrapper `<div>`:

```js
fluidSVGPolyfill(svgEl, { wrapperClass: "custom-class" });
fluidSVGPolyfill(el, { wrapperClass: "custom-class" });
```

## License
Expand Down

0 comments on commit 2d84b32

Please sign in to comment.