Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

690 B
Raw Blame
import { ButtonHTMLAttributes, DetailedHTMLProps, FC } from 'react';
import { FaArrowDown } from 'react-icons/fa6';

type IProps = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;

export const ScrollToBottomButton: FC<IProps> = ({ onClick }) => (
  <div className="w-full max-w-4xl flex justify-center items-center absolute -top-5 z-20">
    <button
      className="bg-white border border-solid border-black border-opacity-10 text-gray-900 rounded-full p-2 shadow-lg hover:bg-slate-100 transition-colors duration-200 active:scale-95"
      onClick={onClick}
      aria-label="Scroll to bottom"
    >
      <FaArrowDown size={12} />
    </button>
  </div>
);