MCPcopy Create free account
hub / github.com/evolify/dumpfun / Filter

Function Filter

common/components/duration-filter.tsx:10–25  ·  view source on GitHub ↗
({ value, onChange }: Props)

Source from the content-addressed store, hash-verified

8}
9
10export default function Filter({ value, onChange }: Props) {
11 return (
12 <ToggleGroup
13 variant="outline"
14 type="single"
15 value={value}
16 onValueChange={onChange}
17 >
18 {Durations.map(option => (
19 <ToggleGroupItem key={option} value={option}>
20 {option}
21 </ToggleGroupItem>
22 ))}
23 </ToggleGroup>
24 )
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected