mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 19:06:12 +00:00
18 lines
482 B
TypeScript
18 lines
482 B
TypeScript
import { memo } from 'react';
|
|
import { IconButton } from '~/components/ui/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"
|
|
/>
|
|
);
|
|
});
|