switchInputStyle top-level constant
Visually hides the native checkbox while keeping it interactive.
Implementation
const switchInputStyle = {
'position': 'absolute',
'width': '1px',
'height': '1px',
'margin': 0,
'opacity': 0,
'pointer-events': 'none',
};