import * as React from 'react' ; import styled from 'styled-components' ; import Link from './link' ; const PageBottomWrapper = styled . div `
  display: flex;
  font-size: 14px;
  flex-direction: row;
  justify-content: space-between;
  padding: 1rem 40px;
  align-items: center;
  button svg {
    cursor: pointer;
    transition: width 2s linear 1s;
  }
  .edit-git,
  .message {
    color: var(--code-inner-color) !important;
  }

  button {
    color: var(--white-color) !important;
  }
  @media (min-width: 0px) and (max-width: 767px) {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    .edit-git {
      order: 1;
    }
  }
` ; const PageBottom = ( { editDocsPath } ) => { return ( < PageBottomWrapper > < div />  { } { editDocsPath && ( < Link className = "edit-git" to = { `${ editDocsPath }` } > Edit this page on GitHub < /Link>)} < /PageBottomWrapper>); } ; export default PageBottom ;