organize components exports

This commit is contained in:
vchikalkin 2025-02-26 17:57:27 +03:00
parent cc30d0163c
commit 498f580dd9
9 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,4 @@
import { ContactsList } from '@/components/contacts/contacts-list';
import { ContactsFilter } from '@/components/contacts/dropdown-filter';
import { ContactsFilter, ContactsList } from '@/components/contacts';
import { ContactsFilterProvider } from '@/context/contacts-filter';
import { Card } from '@repo/ui/components/ui/card';

View File

@ -10,7 +10,7 @@ import {
import { ChevronDown } from 'lucide-react';
import { use } from 'react';
const filterLabels: Order<FilterType, string> = {
const filterLabels: Record<FilterType, string> = {
all: 'Все',
clients: 'Клиенты',
masters: 'Мастера',

View File

@ -0,0 +1,2 @@
export * from './contacts-list';
export * from './dropdown-filter';

View File

@ -1,5 +1,5 @@
'use client';
import { NavButton } from './nav-button';
import { NavButton } from './components/nav-button';
import { BookOpen, Newspaper, PlusCircle, User, Users } from 'lucide-react';
import { usePathname } from 'next/navigation';

View File

@ -1,5 +1,5 @@
'use client';
import { BackButton } from './back-button';
import { BackButton } from './components/back-button';
type Props = { title: string | undefined };

View File

@ -0,0 +1,2 @@
export * from './bottom-nav';
export * from './header';

View File

@ -1,2 +0,0 @@
export * from './header';
export * from './navbar';