import React from 'react' import clsx from 'clsx' import './Switch.scss' interface SwitchProps { disabled?: boolean checked?: boolean tabIndex?: number onChange?: () => void | Promise } const Switch: React.FC = ({ disabled, checked, tabIndex = 1, children, onChange, }) => ( {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}
{children}
) export default Switch