sanity
sanity copied to clipboard
fix(types): correct `ArrayOptions`
- Removed the comment about
layout
since it's confusing/wrong. Thegrid
option also works for a string array. - Added
list
as a validlayout
option. Even though it's the default, it feels weird that you can't specify it manually. - Removed
direction
since it doesn't seem to do anything. Maybe it's old?
I realise that (a) this might be a bold change and (b) I might have no idea what I'm doing since I'm relatively new here, but these changes are based on my observations as I work with the Array schema type and read through https://www.sanity.io/docs/array-type