Skip to main content

DateSelectPicker

A DateSelectPicker component that provides day, month, and year selection using a popover interface.
It can also be used as standalone Month or Year pickers or combined for a compact Month-Year picker.

Usage

function DateSelectPickerUsage() {
return (
<View>
<DateSelectPicker />
</View>
)
}

Month Picker

Use the MonthPicker component to select months independently.

function MonthPickerUsage() {
return (
<View>
<MonthPicker />
</View>
)
}

Year Picker

Display a standalone year selection using YearPicker.

<View>
<YearPicker />
</View>

Month-Year picker

Combine both MonthPicker and YearPicker in a row layout for a compact selection interface.

<View row>
<MonthPicker />
<YearPicker />
</View>

Props

PropData TypeDefault ValueDescription
ExtendsBaseUIProps--Inherits properties from BaseUIProps
monthPropsPartial<MonthNamesListProps>--Month Props to control the Month Picker
yearPropsPartial<YearListProps>--Year Props to control the Year Picker
onDateComplete(date: Omit<MonthDayItem, "isCurrentMonth">) => void--Callback fired when all there pickers are selected
statusBlossomStatusprimary--
sizeBlossomSizemedium--