Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

606 B
Raw Blame
import { ActionIcon } from '@lobehub/ui';
import { SlidersHorizontal } from 'lucide-react';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';

import { openHomeCustomizeModal } from './CustomizeModal';

const CustomizeButton = memo(() => {
  const { t } = useTranslation('home');
  const label = t('dashboard.customize.title');

  return (
    <ActionIcon
      aria-label={label}
      icon={SlidersHorizontal}
      size={'small'}
      title={label}
      variant={'borderless'}
      onClick={() => openHomeCustomizeModal()}
    />
  );
});

export default CustomizeButton;