range-date-picker

Props
Prop
Type
Default
Description
fromName
string
-
시작일자 고유 이름
toName
string
-
종료일자 고유 이름
fromValue
string
-
시작일자
toValue
string
-
종료일자
isPreset
boolean
-
프리셋 사용 여부
onChange
function
-
날짜 변경 핸들러
Usage
import { RangeDatePicker } from '@/src/components/ui'
function RangeDatePickerDemo() {
return (
<RangeDatePicker
fromName={'fromDate'}
toName={'toDate'}
fromValue={'2025. 1. 26'}
toValue={'2025. 2. 25'}
isPreset={true}
onChange={() => {}}
/>
)
}
Last updated