import { motion, AnimatePresence } from 'framer-motion'; import PropTypes from 'prop-types'; import { clsm } from '../../utils'; import { createAnimationProps } from '../../helpers/animationPropsHelper'; const customVariants = { visible: { x: '70%' }, hidden: { x: 0 } }; const customTransition = { x: { duration: 0.1 }, default: { ease: 'linear' } }; const SwitchThumb = ({ className, ownerState, style, shouldShowFocusState, ...restProps }) => ( ); SwitchThumb.defaultProps = { className: '', ownerState: {}, shouldShowFocusState: false, style: {} }; SwitchThumb.propTypes = { className: PropTypes.string, ownerState: PropTypes.object, shouldShowFocusState: PropTypes.bool, style: PropTypes.object }; export default SwitchThumb;