import { AnimatePresence, motion } from 'framer-motion'; import PropTypes from 'prop-types'; import { BUTTON_BASE_CLASSES } from '../../../../components/Button/ButtonTheme'; import { channel as $channelContent } from '../../../../content'; import { clsm } from '../../../../utils'; import { createAnimationProps } from '../../../../helpers/animationPropsHelper'; import { DownArrow } from '../../../../assets/icons'; const $content = $channelContent.chat; const StickScrollButton = ({ isSticky, scrollToBottom }) => ( {!isSticky && ( )} ); StickScrollButton.defaultProps = { isSticky: true }; StickScrollButton.propTypes = { isSticky: PropTypes.bool, scrollToBottom: PropTypes.func.isRequired }; export default StickScrollButton;