1import React, { Children } from 'react';
2import { createPortal } from 'react-dom';
4const kFooterPortalId = 'footer-portal';
6function Footer({ children }) {
8 Children.only(children),
9 document.getElementById(kFooterPortalId)
13Footer.Portal = function FooterPortal(props) {
14 return <div {...props} id={kFooterPortalId} />;
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