Skip to content

Commit

Permalink
More API doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tanem committed Apr 29, 2018
1 parent 0ece1c9 commit 2e373fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ There is a working version of the above in the `examples/basic` dir. First run `

__Props__

- `path` - Path to the SVG to be injected.
- `evalScripts` - *Optional* Run any script blocks found in the SVG to be injected (`always`, `once`, or `never`). Defaults to `never`.
- `onInjected` - *Optional* Function to call after the SVG is injected. Receives the newly injected SVG DOM element as a parameter. Defaults to `null`.
- `path` - Path to the SVG.
- `evalScripts` - *Optional* Run any script blocks found in the SVG (`always`, `once`, or `never`). Defaults to `never`.
- `onInjected` - *Optional* Function to call after the SVG is injected. Receives the injected SVG DOM element as a parameter. Defaults to `null`.
- `svgClassName` - *Optional* Class name to be added to the injected SVG DOM element. Defaults to `null`.
- `svgStyle` - *Optional* Inline styles to be added to the injected SVG DOM element. Defaults to `{}`.

Other non-documented properties are applied to the wrapper element (the outermost `div`).
Other non-documented properties are applied to the wrapper element.

__Example__

Expand Down

0 comments on commit 2e373fb

Please sign in to comment.