import { observer } from 'mobx-react'; import * as React from 'react'; import { returnEmptyFilter, returnFalse, returnTrue } from '../../../ClientUtils'; import { emptyFunction } from '../../../Utils'; import { Doc, returnEmptyDoclist } from '../../../fields/Doc'; import { Transform } from '../../util/Transform'; import { DefaultStyleProvider, returnEmptyDocViewList } from '../StyleProvider'; import { SearchBox } from '../search/SearchBox'; import './LinkPopup.scss'; interface LinkPopupProps { linkFrom?: () => Doc | undefined; linkCreateAnchor?: () => Doc | undefined; linkCreated?: (link: Doc) => void; // groupType: string; // linkDoc: Doc; // docView: DocumentView; // sourceDoc: Doc; } /** * Popup component for creating links from text to Dash documents */ @observer export class LinkPopup extends React.Component { getPWidth = () => 500; getPHeight = () => 500; render() { const linkDoc = this.props.linkFrom ? this.props.linkFrom : undefined; return (
{/*

or

*/}
{/* */}
); } }