MCPcopy Create free account
hub / github.com/fontsource/fontsource / transformSubsets

Function transformSubsets

website/app/components/search/Dropdowns.tsx:23–28  ·  view source on GitHub ↗
(items: MenuItem[])

Source from the content-addressed store, hash-verified

21};
22
23const transformSubsets = (items: MenuItem[]): MenuItem[] => {
24 return items.map((item) => ({
25 ...item,
26 label: subsetToLanguage(item.label),
27 }));
28};
29
30const transformCategories = (items: MenuItem[]): MenuItem[] => {
31 return items.map((item) => ({

Callers

nothing calls this directly

Calls 1

subsetToLanguageFunction · 0.90

Tested by

no test coverage detected