1import React from 'react';
2import PropTypes from 'prop-types';
5const DropdownItem = props => {
7 const _disabled = props.disabled
9 : 'h-br-blue br-gray-50 h-bg-blue h-white';
13 disabled={props.disabled}
15 className={`h-10 m-0 p-0 ph-2 bg-white flex items-start bs-solid brw-2 blw-2 btw-0 bbw-0 sans ${_disabled} ${props.className}`}
16 onClick={props.onClick}>
22DropdownItem.propTypes = {
23 disabled: PropTypes.bool,
24 onClick: PropTypes.func,
25 className: PropTypes.string,
26 children: PropTypes.node,
27 style: PropTypes.object,
31DropdownItem.defaultProps = {
38export default DropdownItem;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list