MCPcopy Create free account
hub / github.com/simstudioai/sim / apply

Function apply

packages/emcn/src/components/calendar/calendar.tsx:391–399  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

389 }
390
391 const apply = () => {
392 if (!rangeStart) return
393 const bounds = buildRangeBounds(rangeStart, rangeEnd ?? rangeStart, {
394 showTime,
395 startTime,
396 endTime,
397 })
398 onRangeChange(bounds.start, bounds.end)
399 }
400
401 return (
402 <div className={cn('flex w-[256px] flex-col p-2', className)}>

Callers

nothing calls this directly

Calls 1

buildRangeBoundsFunction · 0.85

Tested by

no test coverage detected