feat: add autocomplete search with Zustand store and API layer
- Add PokemonAutoComplete atom component using Ant Design - Implement API layer with axios for Pokémon data fetching - Create Zustand store for centralized state management - Add autocomplete suggestions with real-time filtering - Update SearchBar molecule to use autocomplete functionality - Load all Pokémon names on app initialization - Add path aliases for cleaner imports (@api, @stores) - Remove old service layer in favor of API layer - Maintain intentional bugs for debugging practice - Update project structure and documentation
This commit is contained in:
16
src/components/index.ts
Normal file
16
src/components/index.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
// Atoms
|
||||
export { PokemonInput } from './atoms/PokemonInput';
|
||||
export { PokemonButton } from './atoms/PokemonButton';
|
||||
export { PokemonAutoComplete } from './atoms/PokemonAutoComplete';
|
||||
|
||||
// Molecules
|
||||
export { SearchBar } from './molecules/SearchBar';
|
||||
|
||||
// Organisms
|
||||
export { PokemonDetails } from './organisms/PokemonDetails';
|
||||
|
||||
// Templates
|
||||
export { MainLayout } from './templates/MainLayout';
|
||||
|
||||
// Pages
|
||||
export { Home } from './pages/Home';
|
||||
Reference in New Issue
Block a user