bolt.diy/app/components/ui/SettingsButton.tsx
Dustin Loring a2acc77e89 fix: clean up
fix: typecheck / lint
2024-12-07 10:53:33 -05:00

19 lines
469 B
TypeScript

import { memo } from 'react';
import { IconButton } from './IconButton';
interface SettingsButtonProps {
onClick: () => void;
}
export const SettingsButton = memo(({ onClick }: SettingsButtonProps) => {
return (
<IconButton
onClick={onClick}
icon="i-ph:gear"
size="xl"
title="Settings"
className="text-[#666] hover:text-bolt-elements-textPrimary hover:bg-bolt-elements-item-backgroundActive/10 transition-colors"
/>
);
});