shorthand constructor for a vertical gap — spacer(4) instead of { type: 'spacer', height: 4 }, or spacer() for the zero-config default gap (used a lot, so worth the tiny helper)
spacer(4)
{ type: 'spacer', height: 4 }
spacer()
Optional
shorthand constructor for a vertical gap —
spacer(4)instead of{ type: 'spacer', height: 4 }, orspacer()for the zero-config default gap (used a lot, so worth the tiny helper)