// @flow import React from 'react'; import styled from 'styled-components'; import { fontWeight, color } from 'shared/styles/constants'; import Document from 'models/Document'; import NextIcon from 'components/Icon/NextIcon'; type Props = { innerRef?: Function, onClick: SyntheticEvent => void, document: Document, }; function DocumentResult({ document, ...rest }: Props) { return ( {document.title} ); } const ListItem = styled.a` display: flex; align-items: center; height: 28px; padding: 6px 8px 6px 0; color: ${color.white}; font-size: 15px; overflow: hidden; white-space: nowrap; i { visibility: hidden; } &:hover, &:focus, &:active { font-weight: ${fontWeight.medium}; outline: none; i { visibility: visible; } } `; export default DocumentResult;