import React from 'react'; import { useProviderContext } from '@agentscope-ai/chat'; import cls from 'classnames'; import { IconButton } from '@agentscope-ai/design'; import { SparkDownArrowLine } from '@agentscope-ai/icons'; interface ScrollToBottomProps { visible: boolean; onClick: () => void; } const ScrollToBottomButton = ({ visible, onClick }: ScrollToBottomProps) => { const { getPrefixCls } = useProviderContext(); const prefixCls = getPrefixCls('bubble-list-scroll-to-bottom'); return (
} shape='circle' onClick={onClick} />
); }; export default ScrollToBottomButton;