1import React from 'react';
2import PropTypes from 'prop-types';
4const DropdownItem = props => {
5 const _disabled = props.disabled
7 : 'h-br-blue br-gray-50 h-bg-blue h-white';
11 disabled={props.disabled}
13 className={`h-10 m-0 p-0 ph-2 bg-white flex align-center items-start bs-solid brw-2 blw-2 btw-0 bbw-0 sans ${_disabled} ${props.className}`}
14 onClick={props.onClick}>
20DropdownItem.propTypes = {
21 disabled: PropTypes.bool,
22 onClick: PropTypes.func,
23 className: PropTypes.string,
24 children: PropTypes.node,
25 style: PropTypes.object,
28DropdownItem.defaultProps = {
35export 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