Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6
import { FILTERED_SEARCH_TOKEN_CATEGORY } from './constants'; export const buildFilteredSearchCategoryToken = (categories) => { const options = categories.map((c) => ({ value: c, title: c })); return { ...FILTERED_SEARCH_TOKEN_CATEGORY, options }; };