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

Function Filter

app/modules/duration-filter.tsx:12–27  ·  view source on GitHub ↗
({ value, onChange }: Props)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected