'use client'; import { forwardRef, HTMLAttributes } from 'react'; import styles from './neon-tabs.module.css'; export interface NeonTab { id: string; label: string; icon?: React.ReactNode; } export interface NeonTabsProps extends HTMLAttributes { tabs: NeonTab[]; activeTab: string; onChange: (tabId: string) => void; variant?: 'cyan' | 'pink' | 'green' | 'purple'; } export const NeonTabs = forwardRef( ({ tabs, activeTab, onChange, variant = 'cyan', className, ...props }, ref) => { return (
{tabs.map((tab) => ( ))}
); } ); NeonTabs.displayName = 'NeonTabs'; export default NeonTabs;