'use client'; import React from 'react'; import { useBrand } from '@/context/BrandContext'; interface CategoryPillsProps { activeCategory: string; onSelectCategory: (category: string) => void; } const CATEGORIES = [ { id: 'all', label: 'πŸ”₯ Todo el CatΓ‘logo' }, { id: 'Sandalias', label: '🩴 Sandalias' }, { id: 'Zapatillas', label: 'πŸ‘Ÿ Zapatillas' }, { id: 'Gorras', label: '🧒 Gorras' }, { id: 'Bolsos', label: 'πŸ‘œ Bolsos' }, { id: 'Carrieles', label: 'πŸ‘ Carrieles' }, { id: 'Maletines', label: 'πŸŽ’ Maletines' }, { id: 'Ropa', label: 'πŸ‘• Ropa' }, { id: 'Accesorios', label: 'πŸ•ΆοΈ Accesorios' }, { id: 'Nike', label: '⚑ Nike' }, { id: 'Adidas', label: 'πŸ›Ή Adidas' }, { id: 'Jordan', label: 'πŸ€ Jordan' }, { id: 'flash', label: '⚑ Ofertas Flash' }, { id: 'under120', label: 'πŸ’° Menos de $120k' }, ]; export const CategoryPills: React.FC = ({ activeCategory, onSelectCategory, }) => { const { currentBrand } = useBrand(); return (
{CATEGORIES.map((cat) => { const isActive = activeCategory === cat.id; return ( ); })}
); };