File size: 387 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// @flow

import * as React from "react";

type Props = {|
  +children?: React.Node,
|};

/**
 * Used to seperate items within a Dropdown with a horizontal line
 */
function DropdownItemDivider(props: Props): React.Node {
  return <div className="dropdown-divider">{props.children}</div>;
}

DropdownItemDivider.displayName = "Dropdown.ItemDivider";

export default DropdownItemDivider;