import * as React from 'react' ; import ProductFilterList from 'YesterTech/ProductFilterList' ; import { getCategories } from './utils' ; const ProductFilters = ( ) => { const categories = null ; if ( ! categories ) return < div > Loading Filters ... < /div>; return ( < div className = "spacing" > < ProductFilterList list = { categories } urlKey = "categories" label = "Categories" / > < /div>); } ; export default ProductFilters ;