organize components exports
This commit is contained in:
parent
cc30d0163c
commit
498f580dd9
@ -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';
|
||||
|
||||
|
||||
@ -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: 'Мастера',
|
||||
|
||||
2
apps/web/components/contacts/index.ts
Normal file
2
apps/web/components/contacts/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from './contacts-list';
|
||||
export * from './dropdown-filter';
|
||||
@ -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';
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
'use client';
|
||||
import { BackButton } from './back-button';
|
||||
import { BackButton } from './components/back-button';
|
||||
|
||||
type Props = { title: string | undefined };
|
||||
|
||||
2
apps/web/components/navigation/index.ts
Normal file
2
apps/web/components/navigation/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from './bottom-nav';
|
||||
export * from './header';
|
||||
@ -1,2 +0,0 @@
|
||||
export * from './header';
|
||||
export * from './navbar';
|
||||
Loading…
x
Reference in New Issue
Block a user