@@ -13,7 +13,7 @@ type Filters = {
1313 groups : string [ ] ;
1414} ;
1515
16- const ProductCatalog = ( { products } : { products : ProductData [ ] } ) => {
16+ const DirectoryCatalog = ( { products } : { products : ProductData [ ] } ) => {
1717 const [ filters , setFilters ] = useState < Filters > ( {
1818 search : "" ,
1919 groups : [ ] ,
@@ -74,7 +74,7 @@ const ProductCatalog = ({ products }: { products: ProductData[] }) => {
7474 < input
7575 type = "text"
7676 className = "mb-8 w-full rounded-md border-2 border-gray-200 bg-white px-2 py-2 dark:border-gray-700 dark:bg-gray-800"
77- placeholder = "Search products "
77+ placeholder = "Search folders "
7878 value = { filters . search }
7979 onChange = { ( e ) => setFilters ( { ...filters , search : e . target . value } ) }
8080 />
@@ -116,7 +116,7 @@ const ProductCatalog = ({ products }: { products: ProductData[] }) => {
116116 < div className = "mt-0! grid w-full grid-cols-1 items-stretch gap-2 self-start md:grid-cols-2 lg:w-3/4 lg:grid-cols-3 lg:gap-4" >
117117 { productList . length === 0 && (
118118 < div className = "flex w-full flex-col justify-center rounded-md border bg-gray-50 py-6 text-center align-middle md:col-span-2 lg:col-span-3 dark:border-gray-500 dark:bg-gray-800" >
119- < span className = "text-lg font-bold!" > No products found</ span >
119+ < span className = "text-lg font-bold!" > No folders found</ span >
120120 < p >
121121 Try a different search term, or broaden your search by removing
122122 filters.
@@ -163,4 +163,4 @@ const ProductCatalog = ({ products }: { products: ProductData[] }) => {
163163 ) ;
164164} ;
165165
166- export default ProductCatalog ;
166+ export default DirectoryCatalog ;
0 commit comments