You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`preventOpenOnFocus`|`bool`| false | When this is true, the datepicker will not automatically open when the date field is focussed |
@@ -103,3 +103,6 @@ General datepicker component.
103
103
||
104
104
|`yearItemNumber`|`number`|`12`||
105
105
|`yearDropdownItemNumber`|`number`|||
106
+
|`icon`|`string` or `element`|| Allows using a custom calendar icon. Accepts a string (icon class name) or a React component (e.g., custom SVG). If a string is passed, an `<i>` element is rendered with that string as its class name. If a React component is passed, it is rendered as-is. |
107
+
|`calendarIconClassName`|`string`|| Accepts a string that will be added as an additional CSS class to the calendar icon, allowing further styling customization. |
108
+
|`showIcon`|`bool`|`true`| Determines whether the calendar icon is displayed. Set to `true` to display the icon, and `false` to hide it. If `icon` prop is also provided, the custom icon will be displayed when `showIcon` is `true`. |
0 commit comments