Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

DatePicker

DatePicker is a component used for users to select a date.

Source@yamada-ui/calendar

Theming

The DatePicker is a multi part component.

export const DatePicker: ComponentMultiStyle<"DatePicker"> = mergeMultiStyle(
Input,
MultiSelect,
{
baseStyle: {
container: {},
content: {
minW: "auto",
p: "2",
w: "auto",
},
field: {
cursor: "text",
pb: "px",
_focus: {
zIndex: "unset",
},
_notAllowed: {
cursor: "pointer",
},
_readOnly: {
pointerEvents: "none",
},
},
},
sizes: {
xs: {
icon: {
fontSize: "sm",
pt: "2",
},
},
sm: {
icon: {
fontSize: "lg",
},
},
},
},
)({
omit: [
"addon",
"element",
"group",
"groupLabel",
"header",
"footer",
"list",
"item",
"itemIcon",
],
})
Copied!

Edit this page on GitHub

PreviousMultiAutocompleteNextMultiDatePicker