diff --git a/docs/content/packages/javascript.mdx b/docs/content/packages/javascript.mdx index ee63a21a1..3dc08003b 100644 --- a/docs/content/packages/javascript.mdx +++ b/docs/content/packages/javascript.mdx @@ -105,7 +105,7 @@ octicons.x.heights ### `octicons[name].heights[height].width` -Returns the icon's true width, based on the svg view box width. _Note, this doesn't change if you scale it up with size options, it only is the natural width of the icon._ +Returns the icon's true width, based on the SVG view box width. _Note, this doesn't change if you scale it up with size options, it only is the natural width of the icon._ ### `octicons[name].heights[height].path` @@ -134,7 +134,7 @@ octicons.x.toSVG() // ``` -The `.toSVG()` method accepts an optional `options` object. This is used to add CSS classnames, a11y options, and sizing. +The `.toSVG()` method accepts an optional `options` object. This is used to add CSS classnames, acessibility options, and sizing. #### class @@ -154,9 +154,9 @@ octicons.x.toSVG({ "aria-label": "Close the window" }) // ``` -#### width & height +#### width and height -Size the SVG icon larger using `width` & `height` independently or together. `.toSVG()` will automatically choose the best SVG to render based on the width or height passed in. +Size the SVG icon larger using `width` and `height` independently or together. `.toSVG()` will automatically choose the best SVG to render based on the width or height passed in. ```js octicons.x.toSVG({ "width": 45 })