// @flow
import * as React from 'react';
import PropTypes from 'prop-types';

export type ClickOutsideProps = {
  onClickOutside: (event: MouseEvent) => void,
  children: React.Node,
};

export const clickOutsidePropTypes = {
  onClickOutside: PropTypes.func.isRequired,
  children: PropTypes.node.isRequired,
};
