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

Function getSortItems

website/app/components/search/Sort.tsx:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27};
28
29const getSortItems = () => {
30 return Object.entries(sortMap).map(([key, label]) => ({
31 label,
32 value: key,
33 }));
34};
35
36const Sort = observer(({ count, state$ }: SortProps) => {
37 const display = state$.display.get();

Callers 2

FiltersFunction · 0.90
Sort.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected