From fd883b28968af17707194db1d3676e298a04fb96 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Mon, 7 May 2018 21:34:44 -0400 Subject: [PATCH] Fix `LightboxGallery` style guide entry --- ts/components/LightboxGallery.md | 40 ++++++++------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) diff --git a/ts/components/LightboxGallery.md b/ts/components/LightboxGallery.md index 4af8b7b80..4c5f71063 100644 --- a/ts/components/LightboxGallery.md +++ b/ts/components/LightboxGallery.md @@ -4,51 +4,31 @@ const noop = () => {}; const messages = [ { objectURL: 'https://placekitten.com/800/600', - attachments: [ - { - contentType: 'image/jpeg', - }, - ], + attachments: [{ contentType: 'image/jpeg' }], }, { objectURL: 'https://placekitten.com/900/600', - attachments: [ - { - contentType: 'image/jpeg', - }, - ], + attachments: [{ contentType: 'image/jpeg' }], + }, + { + objectURL: 'foo.tif', + attachments: [{ contentType: 'image/tiff' }], }, { objectURL: 'https://placekitten.com/980/800', - attachments: [ - { - contentType: 'image/jpeg', - }, - ], + attachments: [{ contentType: 'image/jpeg' }], }, { objectURL: 'https://placekitten.com/656/540', - attachments: [ - { - contentType: 'image/jpeg', - }, - ], + attachments: [{ contentType: 'image/jpeg' }], }, { objectURL: 'https://placekitten.com/762/400', - attachments: [ - { - contentType: 'image/jpeg', - }, - ], + attachments: [{ contentType: 'image/jpeg' }], }, { objectURL: 'https://placekitten.com/920/620', - attachments: [ - { - contentType: 'image/jpeg', - }, - ], + attachments: [{ contentType: 'image/jpeg' }], }, ];