Datepicker

<BaseDatepicker
label="Choose a date"
placeholder="Select a date"
/>

Props (6)

  • booleanShows a button to empty the field once a date is picked
  • booleanThe disabled state of the datepicker.
  • labelstringThe label of the datepicker component
  • placeholderstringThe placeholder text for the datepicker input
  • tooltipstringText of the tooltip shown via an info button next to the label
  • errorstringThe error message shown below the datepicker