Skip to content

Commit

Permalink
DOCS: Document class prop for the picture an image prototyope
Browse files Browse the repository at this point in the history
  • Loading branch information
mficzel committed Jul 20, 2018
1 parent 83a93e9 commit f8d64c7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ Props:
- `imageSource`: the imageSource to render
- `srcset`: media descriptors like '1.5x' or '600w' of the default image (string ot array)
- `sizes`: sizes attribute of the default image (string ot array)
- `alt`: alt-attribute for the tag
- `title`: title attribute for the tag

- `alt`: alt-attribute for the img tag
- `title`: title attribute for the img tag
- `class`: class attribute for the img tag

#### Image with srcset in multiple resolutions:

Expand Down Expand Up @@ -121,8 +121,9 @@ Props:
- `sizes`: sizes attribute (string ot array)
- `srcset`: media descriptors like '1.5x' or '600w' of the default image (string ot array)
- `sizes`: sizes attribute of the default image (string ot array)
- `alt`: alt-attribute for the tag
- `title`: title attribute for the tag
- `alt`: alt-attribute for the picture tag
- `title`: title attribute for the picture tag
- `class`: class attribute for the picture tag

```
imageSource = Sitegeist.Kaleidoscope:DummyImageSource
Expand Down

0 comments on commit f8d64c7

Please sign in to comment.