Skip to main content
BusinessHoursDialog component

Props

open
boolean
required
open
onOpenChange
(open: boolean) => void
required
onOpenChange
initialHours
BusinessHours
initialHours
onSave
(hours: BusinessHours) => void
onSave

Usage

import { BusinessHoursDialog } from '@/components/BusinessHoursDialog';

export default function Example() {
  return (
    <BusinessHoursDialog open={open} onOpenChange={onOpenChange} />
  );
}