message: Refactor caret positions
diff: @@ -198,14 +198,7 @@ Popover.Content = styled(BorderBox)`
  // }
  `
  -Popover.defaultProps = {
  - caret: 'top',
  - theme
  -}
  -
  -Popover.propTypes = {
  - as: elementType,
  - caret: PropTypes.oneOf([
  +export const CARET_POSITIONS = [
  'top',
  'bottom',
  'left',
  @@ -218,7 +211,16 @@ Popover.propTypes = {
  'left-top',
  'right-bottom',
  'right-top'
  - ]),
  +]
  +
  +Popover.defaultProps = {
  + caret: 'top',
  + theme
  +}
  +
  +Popover.propTypes = {
  + as: elementType,
  + caret: PropTypes.oneOf(CARET_POSITIONS),
  open: PropTypes.bool,
  relative: PropTypes.bool,
  theme: PropTypes.object,
  