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

export const DatePickerRequired: React.FunctionComponent = () => (
  <DatePicker requiredDateOptions={{ isRequired: true, emptyDateText: 'Date is required' }} />
);
