1import React from 'react';
2import PropTypes from 'prop-types';
4const ProtoAnchor = props => {
5 return <a {...props}>{props.children}</a>;
8ProtoAnchor.propTypes = {
9 className: PropTypes.string,
10 children: PropTypes.node,
11 autoFocus: PropTypes.bool,
12 style: PropTypes.object,
13 href: PropTypes.string,
14 rel: PropTypes.string,
15 target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top']),
18ProtoAnchor.defaultProps = {
27export default ProtoAnchor;
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