Created
May 9, 2020 07:55
-
-
Save kmelve/d6f4488bd4e99d0683d7581d664db5b3 to your computer and use it in GitHub Desktop.
A simple gallery type for Sanity.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
name: 'gallery', | |
type: 'array', | |
title: 'Gallery', | |
description: 'Drag and drop multiple images onto this field to batch upload', | |
of: [ | |
{ | |
type: 'image' | |
} | |
], | |
options: { | |
layout: 'grid' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment