Skip to content

Commit 71b5535

Browse files
authored
Formatting fix in Readme
Within the table documenting the _`gatsby-image` props_ the notation `string|object` led to markdown interpreting the `|` as a column separation. I changed it to `string` / `object`. This way the description of these properties now also shows up.
1 parent 0cf4428 commit 71b5535

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/gatsby-image/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ prop. e.g. `<Img sizes={sizes} />`
250250
| `fadeIn` | `bool` | Defaults to fading in the image on load |
251251
| `title` | `string` | Passed to the `img` element |
252252
| `alt` | `string` | Passed to the `img` element |
253-
| `className` | `string|object` | Passed to the wrapper element. Object is needed to support Glamor's css prop |
254-
| `outerWrapperClassName` | `string|object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop |
253+
| `className` | `string` / `object` | Passed to the wrapper element. Object is needed to support Glamor's css prop |
254+
| `outerWrapperClassName` | `string` / `object` | Passed to the outer wrapper element. Object is needed to support Glamor's css prop |
255255
| `style` | `object` | Spread into the default styles in the wrapper element |
256256
| `imgStyle` | `object` | Spread into the default styles for the actual `img` element |
257257
| `position` | `string` | Defaults to `relative`. Pass in `absolute` to make the component `absolute` positioned |

0 commit comments

Comments
 (0)