How to use the react-dates.SingleDatePicker.propTypes function in react-dates

To help you get started, we’ve selected a few react-dates examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sumup-oss / circuit-ui / src / components / Calendar / SingleDayPicker.js View on Github external
import { ReactComponent as ArrowRightIcon } from './arrow-right.svg';

const SingleDayPicker = props => (
  
    }
      navPrev={}
      customCloseIcon={}
      numberOfMonths={1}
      hideKeyboardShortcutsPanel
      {...props}
    />
  
);

SingleDayPicker.propTypes = SingleDatePicker.propTypes;

/**
 * @component
 */
export default SingleDayPicker;