MaskPlaceholder

Specifies placeholder overrides for date/time segments in masked input. Applicable only when inputMask is true.

Props

The following table outlines the props for the MaskPlaceholder:

NameTypeDefaultDescription
day
string
-

Specifies the placeholder for the day segment (e.g., "dd").

hour
string
-

Specifies the placeholder for the hour segment (e.g., "hh" or "HH").

meridiem
string
-

Specifies the placeholder for the meridiem segment (e.g., "AM/PM").

minute
string
-

Specifies the placeholder for the minute segment (e.g., "mm").

month
string
-

Specifies the placeholder for the month segment (e.g., "mm" or localized month).

second
string
-

Specifies the placeholder for the second segment (e.g., "ss").

year
string
-

Specifies the placeholder for the year segment (e.g., "yyyy").