import React from 'react'; import PropTypes from 'prop-types'; import './Toggle.scss'; function Toggle({ isActive, onToggle }) { return ( // eslint-disable-next-line jsx-a11y/control-has-associated-label