From f8d64c7e9c9b830425563048543ff136f07478fe Mon Sep 17 00:00:00 2001 From: Martin Ficzel Date: Fri, 20 Jul 2018 11:57:16 +0200 Subject: [PATCH] DOCS: Document `class` prop for the picture an image prototyope --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6f94008..1324f90 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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