import React from 'react'; import { css, DocumentList, spacing } from '@mongodb-js/compass-components'; import type HadronDocumentType from 'hadron-document'; const insertDocumentStyles = css({ // We give it a good amount of spacing for dropdown menus. // TODO(COMPASS-6271): We'll use portals in the document editing Menu // so we don't need special padding here. paddingBottom: spacing[7], }); type InsertDocumentProps = { doc: HadronDocumentType; }; function InsertDocument({ doc }: InsertDocumentProps) { return (