Switcher - no flexbox gap

If the flexbox gap property is not supported, this component expects a class of no-flexbox-gap to be applied to a parent element - probably the body or html elements.

In this case the switcherSpace property will be applied as margin around each child element.

<body class="no-flexbox-gap">
	<Switcher>
		<span class="item">Item</span>
		<span class="item">Item</span>
		<span class="item">Item</span>
		...
	</Switcher>
</body>

Props

Example

Item Item Item