import { useIsDarkTheme } from '@/components/theme-provider'; import React from 'react'; interface SpotlightProps { className?: string; opcity?: number; coverage?: number; } /** * * @param opcity 0~1 default 0.5 * @param coverage 0~100 default 60 * @returns */ const Spotlight: React.FC = ({ className, opcity = 0.5, coverage = 60, }) => { const isDark = useIsDarkTheme(); const rgb = isDark ? '255, 255, 255' : '194, 221, 243'; return (
); }; export default Spotlight;