import React from 'react';
import { DatePicker, HelperText, HelperTextItem } from '@breakaway/preact-core';

export const DatePickerHelperText: React.FunctionComponent = () => (
  <DatePicker
    value="2020-03-05"
    helperText={
      <HelperText>
        <HelperTextItem>Select a date.</HelperTextItem>
      </HelperText>
    }
  />
);
