Constructor
# <DatePicker />
Component responsible for showing dates. It is a wrapper to react datepicker.
- See:
View Source admin-bro/src/frontend/components/design-system/molecules/date-picker.tsx, line 119
Example
Type Definitions
object
# DatePickerProps
Props for DatePicker
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
disabled |
boolean |
<optional> |
If datepicker should be disabled |
value |
string | Date |
<optional> |
selected date |
onChange |
function | on change callback taking string as a date |