Props

PropTypeDefaultDescription
valueDate | null선택된 시간 값 (시간 부분만 사용됨)
onChange(date: Date | null) => void값이 변경될 때 호출되는 콜백
timeTimeConfig시간 패널 설정
localePartial<Locale>사용자 정의 로캘 설정
displayFormatstring트리거의 사용자 정의 표시 형식
placeholderstring트리거의 자리표시자 텍스트
openboolean제어되는 열림 상태
initialOpenbooleanfalse초기 열림 상태 (비제어)
onOpenChange(open: boolean) => void열림 상태가 변경될 때 호출되는 콜백
requiredbooleanfalse값 지우기 비활성화
inlinebooleanfalse트리거/팝업 없이 인라인으로 렌더링
hideFooterboolean액션 푸터 숨기기
namestring폼 제출을 위한 숨겨진 input 이름

TimeConfig

interface TimeConfig {
/** Time display precision. Defaults to "minute". */
precision?: "hour" | "minute" | "second";
/** 12-hour or 24-hour format. Defaults to "24". */
hourFormat?: "12" | "24";
/** Minute increment step. Defaults to 5. */
minuteStep?: 1 | 2 | 3 | 5 | 10 | 15 | 20 | 30;
/** Second increment step. Defaults to 1. */
secondStep?: 1 | 2 | 3 | 5 | 10 | 15 | 20 | 30;
/** Height (in px) of each scroll wheel item. Defaults to 32. */
itemHeight?: number;
}